GET key
127.0.0.1:6379> SET website "编程帮" OK 127.0.0.1:6379> GET website "编程帮" #获取存储的值 "编程帮 " 127.0.0.1:6379> GET site "编程帮" #key不存在 (nill) 127.0.0.1:6379> LPUSH site www.lmcjl.com #列表类型的key (integer) 1 127.0.0.1:6379> g、GET site #返回错误 (error) WRONGTYPE Operation against a key holding the wrong kind of value
本文链接:http://task.lmcjl.com/news/19057.html