skip to Main Content
HSET myhash field2 "Hi" field3 "World"
HSET myhash2 field2 "Hi" field3 "World"

I want to fetch the key-values for mhash and myhash2 in one operation. how to do this ?

2

Answers


  1. There is no native way that redis supports fetching keys of two hash-maps in one operation

    Login or Signup to reply.
  2. you can use this command. hgetall "key"

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search