Comments (2)
谢谢提醒,一两个月之后文档会进行一次大更新,到时会一并修复这个问题。
你可以让这个 issue 保持打开状态,我会在文档更新完毕之后来关闭这个 issue 。
from redis.
Hi,经过在最新的 Redis 3.1 版本上进行实验,发现 REPLACE 选项虽然在打印命令帮助信息的时候不会出现在参数列表里面,但仍然是可用的:
127.0.0.1:6379> help
redis-cli 3.1.999 (git:bea12591)
Type: "help @<group>" to get a list of commands in <group>
"help <command>" for help on <command>
"help <tab>" to get a list of possible help topics
"quit" to exit
127.0.0.1:6379> help RESTORE
RESTORE key ttl serialized-value
summary: Create a key using the provided serialized value, previously obtained using DUMP.
since: 2.6.0
group: generic
127.0.0.1:6379> SET msg "hello world"
OK
127.0.0.1:6379> DUMP msg
"\x00\x0bhello world\a\x00\xf4\xce\x9cJ\xae\ru."
127.0.0.1:6379> RESTORE new-msg 0 "\x00\x0bhello world\a\x00\xf4\xce\x9cJ\xae\ru." REPLACE
OK
127.0.0.1:6379> GET new-msg
"hello world"
127.0.0.1:6379> RESTORE new-msg 0 "\x00\x0bhello world\a\x00\xf4\xce\x9cJ\xae\ru." REPLACE
OK
因此我推测,不能使用 REPLACE 选项可能只是某个特定版本的问题,故关闭这个 issue 。
from redis.
Related Issues (20)
- sentinel 文档的更新
- Using Redis as an LRU cache
- Master-slave下一致性问题 HOT 3
- 补齐 HyperLogLog 文档的翻译
- 添加许可证
- 各个文档的标题改动
- 将命令名改为驼峰写法?
- 关于积压空间的创建和写入问题 HOT 1
- 修复原来使用的 Sphinx Tag
- 添加 HSTRLEN 命令的文档翻译
- 3.0 更新计划 HOT 1
- 有打算添加3.0的文档么? HOT 1
- 作者啥时候出个MD版本的呢?
- 有PDF版本么?
- 关于info命令latest_fork_usec解释的疑问
- 关于replication的疑问
- Redis 集群 master和slave数据同步问题
- List 中 LSET 命令中出现错别字
- redisdoc.com 域名过期啦???博主看下?? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis.