DBSIZE

DBSIZE

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

Return value

Integer reply

© 2009–2020 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/dbsize