Obtain a ReadStream of the Redis database

225 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 best solutions below

0
On

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