DBSIZE

Usage:
DBSIZE
Complexity:
O(1)
Since:
1.0.0

Return the number of keys in the currently-selected database.

RESP2/RESP3 Reply

Integer reply: the number of keys in the currently-selected database.