How to get all the collection names in a certain library in redis?
How to get all the collection names in a certain library in redis?
There is no such operation. You can only use KEYS
to get all the keys first, and then use TYPE
to determine whether each key is a set
Found, you can get it by using the scan 0 command