API的理解和使用

2.1 預備 2.1.1 全局命令 查看所有鍵 key *   插入字符串鍵值對 set hello world:hello是key,world是value dbsize:鍵總數   插入列表類型的鍵值對: rpush mylist a b c d e f g   dbsize直接獲取Redis內置的鍵總數變量:O(1) keys *則O(N)   檢查鍵是否存在 exists key   del
相關文章
相關標籤/搜索