coolexp / redis

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

nokey By - what is the meaning? #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I noticed in the tcl test script that you call sort with a By of nokey. Is
'nokey' a special keyword to indicate that the By is meaningless or is
there some other meaning?

Thanks.

Original issue reported on code.google.com by eprparad...@gmail.com on 5 Jul 2009 at 6:51

GoogleCodeExporter commented 8 years ago
Hello, yes the BY <every kind of constant key not including an asterisk> means
simply: don't sort the array. So you use SORT just for the side effect of LIMIT 
or
GET or other available options.

Original comment by anti...@gmail.com on 5 Jul 2009 at 6:54

GoogleCodeExporter commented 8 years ago

Original comment by anti...@gmail.com on 23 Oct 2009 at 12:30