Redis Hkeys 命令

更新时间: 2019-07-07 15:54

Redis Hkeys 命令用于获取哈希表中的所有域(field)。

语法

redis 127.0.0.1:6379> HKEYS key 

返回值

包含哈希表中所有域(field)列表。 当 key 不存在时,返回一个空列表。

实例

redis 127.0.0.1:6379> HSET myhash field1 "foo"
(integer) 1
redis 127.0.0.1:6379> HSET myhash field2 "bar"
(integer) 1
redis 127.0.0.1:6379> HKEYS myhash
1) "field1"
2) "field2"

查看更多 Redis 哈希(Hash)命令

Agile Web Application Development with Yii 1.1 and PHP5

Agile Web Application Development with Yii 1.1 and PHP5

Jeffrey Winesett / Packt Publishing / 2010-08-27

In order to understand the framework in the context of a real-world application, we need to build something that will more closely resemble the types of applications web developers actually have to bu......一起来看看 《Agile Web Application Development with Yii 1.1 and PHP5》 这本书的介绍吧!

Base64 编码/解码

Base64 编码/解码

Base64 编码/解码

SHA 加密

SHA 加密

SHA 加密工具

HSV CMYK 转换工具

HSV CMYK 转换工具

HSV CMYK互换工具