W3cubDocs

/Redis

DBSIZE

DBSIZE

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

Return value

Integer reply

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