Method: Redis#move
- Defined in:
- lib/redis.rb
#move(key, db) ⇒ Boolean
Move a key to another database.
465 466 467 468 469 |
# File 'lib/redis.rb', line 465 def move(key, db) synchronize do |client| client.call([:move, key, db], &_boolify) end end |