Method: Redis#dbsize

Defined in:
lib/redis.rb

#dbsizeObject

Return the number of keys in the selected database.



285
286
287
288
289
# File 'lib/redis.rb', line 285

def dbsize
  synchronize do
    @client.call [:dbsize]
  end
end