(destinationKey string, sourceKeys []string, aggregation ZAggregation, weights map[string]float64)
| 215 | } |
| 216 | |
| 217 | func (c Client) ZINTERSTORE(destinationKey string, sourceKeys []string, aggregation ZAggregation, weights map[string]float64) (membersWithScores map[string]float64, err error) { |
| 218 | set, err := c.ZINTER(sourceKeys, aggregation, weights) |
| 219 | if err == nil { |
| 220 | _, err = c.ZADD(destinationKey, set, Flags{}) |
| 221 | } |
| 222 | |
| 223 | return set, err |
| 224 | } |
| 225 | |
| 226 | func (c Client) ZLEXCOUNT(key string, min string, max string) (count int64, err error) { |
| 227 | return c.zGeneralCount(key, zLex{min}, zLex{max}, c.sk) |