redis----查询keys(模糊匹配)

keys *  返回所有的key

keys h?llo 类似数据库的匹配使用

keys h*lleo 类似数据库的匹配使用

keys h[ae]llo  只能是a或e的匹配

 

一次设置多个keys

mset one 1 two 2 three 3 four 4

posted on 2016-11-13 13:37  大兴兴  阅读(818)  评论(0编辑  收藏  举报

导航