对象引用计数

Syntax
OBJECT REFCOUNT key
Available since:
2.2.3
Time complexity:
O(1)
ACL categories:
@keyspace, @read, @slow,

此命令返回存储在中的引用计数。

RESP2 回复

One of the following: Integer reply: the number of references. Nil reply: if key doesn't exist.

RESP3 回复

One of the following: Integer reply: the number of references. Null reply: if key doesn't exist.
RATE THIS PAGE
Back to top ↑