public function union($setOrSets, $storeKeyName, $aggregation = 'sum')
    {
        $sets = $this->_prepareSetsForComapre($setOrSets);

        return $this->_getRediskaOn()->unionSortedSets($sets, $storeKeyName, $aggregation);
    }
public function union($setOrSets, $storeKeyName, $aggregation = 'sum')
    {
        $sets = $this->_prepareSetsForComapre($setOrSets);

        return $this->_getRediskaOn()->unionSortedSets($sets, $storeKeyName, $aggregation);
    }
public function union ( $ setOrSets , $ storeKeyName , $ aggregation = 'sum' ) { $ sets = $ this -> _prepareSetsForComapre ( $ setOrSets ) ; return $ this -> _getRediskaOn ( ) -> unionSortedSets ( $ sets , $ storeKeyName , $ aggregation ) ; }
Store to key union between the sorted sets

@param string|Rediska_Key_SortedSet|array  $setOrSets    Sorted set key name or object, or array of its
@param string                              $storeKeyName Result sorted set key name
@param string                              $aggregation  Aggregation method: SUM (for default), MIN, MAX.
@return integer
Store to key union between the sorted sets