Method: Redis#sunionstore
- Defined in:
- lib/redis.rb
#sunionstore(destination, *keys) ⇒ Fixnum
Add multiple sets and store the resulting set in a key.
1376 1377 1378 1379 1380 |
# File 'lib/redis.rb', line 1376 def sunionstore(destination, *keys) synchronize do |client| client.call([:sunionstore, destination] + keys) end end |