class Redis
def flushdb(options = nil)
-
(String)
- `OK`
Parameters:
-
options
(Hash
) --
def flushdb(options = nil) synchronize do |client| if options && options[:async] client.call([:flushdb, :async]) else client.call([:flushdb]) end end end