Redis之哈希類型

哈希類型類似一個對象     key相當於對象     field相當於屬性   value相當於值 應用場景:用一個對象來存儲用戶信息,商品信息,訂單信息等等。 操作hash命令 1.hget key field: 獲取hash key對應的field的value 2.hset key field value :設置hash key對應的field的value 3.hdel key field:
相關文章
相關標籤/搜索