Redis Keys 命令

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

Redis Keys 命令用于查找所有符合给定模式 pattern 的 key 。

语法

redis 127.0.0.1:6379> KEYS PATTERN

返回值

符合给定模式的 key 列表 (Array)。

实例

127.0.0.1:6379> keys *
1) "key3"
2) "domain"
3) "key5"
4) "web_name"
5) "key2"
6) "key6"
7) "key4"
127.0.0.1:6379> keys key*
1) "key3"
2) "key5"
3) "key2"
4) "key6"
5) "key4"

查看更多 Redis key 命令

Pro JavaScript Design Patterns

Pro JavaScript Design Patterns

Dustin Diaz、Ross Harmes / Apress / 2007-12-16 / USD 44.99

As a web developer, you’ll already know that JavaScript™ is a powerful language, allowing you to add an impressive array of dynamic functionality to otherwise static web sites. But there is more power......一起来看看 《Pro JavaScript Design Patterns》 这本书的介绍吧!

JS 压缩/解压工具

JS 压缩/解压工具

在线压缩/解压 JS 代码

SHA 加密

SHA 加密

SHA 加密工具

UNIX 时间戳转换

UNIX 时间戳转换

UNIX 时间戳转换