Method: Redis#restore
- Defined in:
- lib/redis.rb
#restore(key, ttl, serialized_value) ⇒ Object
Create a key using the serialized value, previously obtained using DUMP.
384 385 386 387 388 |
# File 'lib/redis.rb', line 384 def restore(key, ttl, serialized_value) synchronize do |client| client.call([:restore, key, ttl, serialized_value]) end end |