Redis Dump 命令

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

Redis DUMP 命令用于序列化给定 key ,并返回被序列化的值。

语法

redis 127.0.0.1:6379> DUMP KEY_NAME

返回值

如果 key 不存在,那么返回 nil 。 否则,返回序列化之后的值。

实例

127.0.0.1:6379> get domain
"www.codercto.com"
127.0.0.1:6379> dump domain
"\x00\x10www.codercto.com\b\x00\xd9\xe9X\x1d\xf7\xbe\x9b\xd6"
127.0.0.1:6379> dump domain11
(nil)

查看更多 Redis key 命令

One Click

One Click

Richard L. Brandt / Portfolio Hardcover / 2011-10-27 / 25.95

An insightful look at how Amazon really works and how its founder and CEO makes it happen. Amazon's business model is deceptively simple: make online shopping so easy and convenient that customers ......一起来看看 《One Click》 这本书的介绍吧!

RGB CMYK 转换工具

RGB CMYK 转换工具

RGB CMYK 互转工具

HEX HSV 转换工具

HEX HSV 转换工具

HEX HSV 互换工具