djveremix / redis

Automatically exported from code.google.com/p/redis
0 stars 0 forks source link

HKEYS to HFIELDS --- What do you think? #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was looking at the new hash commands and I think HKEYS might be a
confusing name since the return value is fields and not keys. And since we
already have a KEYS command it might appear the HKEYS commands works
similar except only on keys that are also hashes.

Original issue reported on code.google.com by gwebmast...@yahoo.com on 29 Mar 2010 at 6:51

GoogleCodeExporter commented 9 years ago
-1, I think HKEYS is fine. "keys" is a commonly known term for hashes (a map of 
keys to values) and this same 
argument could be applied to many other commands that Redis has that are very 
similar yet only one character 
away from each other. (MGET, GET, ZADD, SADD, etc)

Original comment by nick+google@quaran.to on 29 Mar 2010 at 6:58

GoogleCodeExporter commented 9 years ago

Original comment by anti...@gmail.com on 27 Aug 2010 at 11:22