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 ?
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
There is no native way that redis supports fetching keys of two hash-maps in one operation
you can use this command. hgetall "key"