How can I get all of the sets in redis?

前端 未结 4 962
[愿得一人]
[愿得一人] 2020-12-01 13:59

I know the KEYS command, but that only returns the keys (I\'m guessing all of the keys with type String), and apparently sets aren\'t considered keys.

Is there a com

4条回答
  •  孤街浪徒
    2020-12-01 14:32

    The answer was correct for its time, however this is supported from redis 2.8.0 - Check out SCAN

提交回复
热议问题