module Redis::Commands::Sets

def sinterstore(destination, *keys)

Returns:
  • (Integer) - number of elements in the resulting set

Parameters:
  • keys (String, Array) -- keys pointing to sets to intersect
  • destination (String) -- destination key
def sinterstore(destination, *keys)
  keys.flatten!(1)
  send_command([:sinterstore, destination].concat(keys))
end