Obtain a ReadStream of the Redis database

191 views Asked by At

In LevelUP it is very simple to iterate all keys and values using readable stream.

How can I do get all records (both keys and values) from Redis store (may be as ReadStream)?

May be should I use SCAN command?

1

There are 1 answers

0
mscdex On

There is the redis-scanstreams module that does exactly that.