liangdabiao / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[FEATURE REQUEST] get random field from hash #542

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Since hash is more memory efficient, we are using it very frequently now. It 
would be great to have some of the feature for a key in field too. For example, 
it will be nice if we can get a random field from a hash - HGETRANDFIELD key - 
returns a random field in the hash stored at key.

Original issue reported on code.google.com by caoxu...@gmail.com on 3 May 2011 at 10:40