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
相关文章
相关标签/搜索