module Redis::Commands::SortedSets

def zunionstore(*args)

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

Parameters:
  • options (Hash) --
  • keys (Array) -- source keys
  • destination (String) -- destination key

Other tags:
    Example: Compute the union of `2*zsetA` with `1*zsetB`, summing their scores -
def zunionstore(*args)
  _zsets_operation_store(:zunionstore, *args)
end