DBSIZE

Syntax
DBSIZE
Available since:
1.0.0
Time complexity:
O(1)
ACL categories:
@keyspace, @read, @fast,

返回当前所选数据库中的键的数量。

RESP2/RESP3 回复

Integer reply: the number of keys in the currently-selected database.
RATE THIS PAGE
Back to top ↑