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 命令

High Performance JavaScript

High Performance JavaScript

Nicholas C. Zakas / O'Reilly Media / 2010-4-2 / USD 34.99

If you're like most developers, you rely heavily on JavaScript to build interactive and quick-responding web applications. The problem is that all of those lines of JavaScript code can slow down your ......一起来看看 《High Performance JavaScript》 这本书的介绍吧!

CSS 压缩/解压工具

CSS 压缩/解压工具

在线压缩/解压 CSS 代码

URL 编码/解码

URL 编码/解码

URL 编码/解码

XML、JSON 在线转换

XML、JSON 在线转换

在线XML、JSON转换工具