This topic created in 2724 days ago, the information mentioned may be changed or developed.
3 replies • 2019-05-31 17:48:15 +08:00
 |
|
key 不多的话直接 keys * key 多的话用 scan
|
 |
|
ns_keys = "kwd:*" cursor = '0' while cursor != 0: cursor, keys = redis_conn.scan(cursor=cursor, match=ns_keys, count=100)
|
 |
|
我也喜欢 keys *
|