Optional
batchThe size of the batches in which the list operation is performed. Larger or smaller batch sizes may positively or negatively affect the performance of a list operation depending on the specific use case and iteration behavior. Slow iterating queries may benefit from using a smaller batch size for increased overall consistency, while fast iterating queries may benefit from using a larger batch size for better performance.
The default batch size is equal to the limit option, or 128 if this is unset. The maximum value for this option is 1024. Larger values will be clamped.
Optional
cursorThe cursor to resume the iteration from. If not specified, the iteration will start from the beginning.
Optional
limitThe maximum number of key-value pairs to return. If not specified, all matching key-value pairs will be returned.
Optional
reverseWhether to reverse the order of the returned key-value pairs. If not specified, the order will be ascending from the start of the range as per the lexicographical ordering of the keys. If true, the order will be descending from the end of the range.
Options for listing key-value pairs in a NanoKV.