redis 的五種類型以及對應操做

1.字符型  Stringhtml SET:redis set str1 world OK GET:code get str1 "world" Delete: 返回值爲1,說明刪除成功,若是str1不存在,則返回0 del str1 (integer) 1 get str1 (nil) 2.列表操做 List:htm RPUSH:在LIST的右側插入數據:(返回值爲列表的個數)排序 rpush l
相關文章
相關標籤/搜索