Method: Redis::Commands::Server#dbsize
- Defined in:
- lib/redis/commands/server.rb
#dbsize ⇒ Integer
Return the number of keys in the selected database.
55 56 57 |
# File 'lib/redis/commands/server.rb', line 55 def dbsize send_command([:dbsize]) end |