]> git.saurik.com Git - redis.git/blobdiff - doc/SortCommand.html
Version chagned to 1.100, also known as the first first 2.0 beta version
[redis.git] / doc / SortCommand.html
index 3d88e401242b1b8524626f8b0b73032a9762d5a6..66e4092281fe82016948ca348057ee9fe3f119c0 100644 (file)
@@ -49,8 +49,11 @@ SORT mylist BY weight_*
 <pre class="codeblock python python python python python python" name="code">
 SORT mylist BY weight_* GET object_*
 </pre><blockquote>Note that GET can be used multiple times in order to get more keys forevery element of the original List or Set sorted.</blockquote>
-<h2><a name="Return value">Return value</a></h2><a href="ReplyTypes.html">Multi bulk reply</a>, specifically a list of sorted elements.<h2><a name="See Also">See Also</a></h2>
-<ul><li> <a href="SinterCommand.html">SINTER</a></li></ul>
+<blockquote>Since Redis &gt;= 1.1 it's possible to also GET the list elements itselfusing the special # pattern:</blockquote>
+<pre class="codeblock python python python python python python python" name="code">
+SORT mylist BY weight_* GET object_* GET #
+</pre><h2><a name="Return value">Return value</a></h2><a href="ReplyTypes.html">Multi bulk reply</a>, specifically a list of sorted elements.<h2><a name="See Also">See Also</a></h2>
+<ul><li> <a href="SinterCommand.html">SINTER</a></li><li> <a href="SunionCommand.html">SUNION</a></li></ul>
                 </div>
         
             </div>