mirror of https://github.com/go-redis/redis.git
Add note on HMGet
This commit is contained in:
parent
984a6395c9
commit
13b6cb3891
|
@ -969,6 +969,8 @@ func (c cmdable) HLen(key string) *IntCmd {
|
|||
return cmd
|
||||
}
|
||||
|
||||
// HMGet returns the values for the specified fields in the hash stored at key.
|
||||
// It returns an interface{} to distinguish between empty string and nil value.
|
||||
func (c cmdable) HMGet(key string, fields ...string) *SliceCmd {
|
||||
args := make([]interface{}, 2+len(fields))
|
||||
args[0] = "hmget"
|
||||
|
|
Loading…
Reference in New Issue