Home / node / Commands / interfaces / Limit @valkey/valkey-glide
@valkey/valkey-glide / Commands / Limit
Interface: Limit
The LIMIT argument is commonly used to specify a subset of results from the
matching elements, similar to the LIMIT clause in SQL (e.g., SELECT LIMIT offset, count).
Properties
count
count:
number
The maximum number of elements to include in the range. A negative count returns all elements from the offset.
offset
offset:
number
The starting position of the range, zero based.