redis-scanstreams icon indicating copy to clipboard operation
redis-scanstreams copied to clipboard

Limit option

Open Downchuck opened this issue 10 years ago • 1 comments

How do I pass a limit option? as it's a stream reader, I don't need to grab the whole result set.

Downchuck avatar Jul 02 '15 21:07 Downchuck

Not yet implemented as this only reflects what is available with the Redis SCAN command syntax.

However, that's not to say it couldn't be done, either by using a stream even to stop the stream when you have what you want or by adding something to options that does a client-side LIMIT

brycebaril avatar Jul 19 '15 17:07 brycebaril