1
kikoroc 2019-05-29 15:53:48 +08:00
key 不多的话直接 keys *
key 多的话用 scan |
2
liuguichao 2019-05-30 14:04:15 +08:00
ns_keys = "kwd:*"
cursor = '0' while cursor != 0: cursor, keys = redis_conn.scan(cursor=cursor, match=ns_keys, count=100) |
3
bnbdfg 2019-05-31 17:48:15 +08:00
我也喜欢 keys *
|