Redis操作

一. keys 鍵的操作 exists key  測試指定的key是否存在 del key1 key2....keyN 刪除指定的key type key  返回指定key 的value類型 keys pattern  返回匹配指定模式的所有key rename oldkey newkey  改名 dbsize  返回當前數據庫的key數量 expire key seconds  爲key指定過期
相關文章
相關標籤/搜索