文件名称:键值相关命令-模式识别之特征选择
文件大小:1.29MB
文件格式:PDF
更新时间:2024-06-29 09:57:40
redis开发
3.1 键值相关命令 3.1.1 keys 返回满足给定 pattern 的所有 key redis 127.0.0.1:6379> keys * 1) "myzset2" 2) "myzset3" 3) "mylist" 4) "myset2" 5) "myset3" 6) "myset4" 7) "k_zs_1" 8) "myset5" 9) "myset6" 10) "myset7" 11) "myhash" 12) "myzset" 13) "age" 14) "myset" 15) "mylist5" 16) "mylist6" 17) "mylist7" 18) "mylist8" 用表达式*,代表取出所有的 key redis 127.0.0.1:6379> keys mylist* 1) "mylist" 2) "mylist5" 3) "mylist6" 4) "mylist7" 5) "mylist8" redis 127.0.0.1:6379>