Server
DBSIZE
Count the number of keys in the database.
Arguments
This command has no arguments
Response
intrequired
The number of keys in the database
Example
redis.dbsize()Count the number of keys in the database.
This command has no arguments
The number of keys in the database
redis.dbsize()