Method: Redis#dbsize
- Defined in:
- lib/redis.rb
#dbsize ⇒ Fixnum
Return the number of keys in the selected database.
150 151 152 153 154 |
# File 'lib/redis.rb', line 150 def dbsize synchronize do |client| client.call([:dbsize]) end end |