Replies: 1 comment
-
See https://redis.uptrace.dev/guide/server.html#redis-nil and https://redis.io/commands/HMGET |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for example:
result, err := redis.RedisFacade().Client.HMGet(context.Background(), "aaafdfewr", "bb").Result()
fmt.Println(sliceCmd.Err() == redis.Nil)
Q:
I query a not exist key ,but "sliceCmd.Err() == redis.Nil" return false ,I just want to know when hash key not exist,is there any other method ?
Beta Was this translation helpful? Give feedback.
All reactions