mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Add bytes support for sorted set.
This commit is contained in:
@ -978,13 +978,16 @@ func (c *commandable) SUnionStore(destination string, keys ...string) *IntCmd {
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Sorted set member.
|
||||
type Z struct {
|
||||
Score float64
|
||||
Member string
|
||||
Member interface{}
|
||||
}
|
||||
|
||||
// Sorted set store operation.
|
||||
type ZStore struct {
|
||||
Weights []int64
|
||||
Weights []int64
|
||||
// Can be SUM, MIN or MAX.
|
||||
Aggregate string
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user