const [newCursor, keys] = await redis.scan(0, {match: "*"});
Scan the database for keys.
0
string
hash
set
zset
list
stream
Was this page helpful?