Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的本地机器上,当我命令时,redis 可以完美运行
zremrangebyrank city 0 -1
但是当我尝试在开发服务器上执行此操作时,我收到:
未知命令“zremrangebyrank”
知道为什么吗?
此命令仅适用于 redis v2.0.0+
旧版本不支持它(您有 1.2.6)。