Last active
October 15, 2015 01:39
Revisions
-
barnabyc revised this gist
Oct 15, 2015 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ 127.0.0.1:6379> zadd myindex 0 "banana:123" 0 "banahhh:1" 0 "banned user:49" 0 "banning:89" (integer) 4 127.0.0.1:6379> ZRANGEBYLEX myindex "[banana:" + LIMIT 0 10 1) "banana:123" 2) "banned user:49" 3) "banning:89" 127.0.0.1:6379> -
barnabyc revised this gist
Oct 15, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,3 +3,4 @@ 127.0.0.1:6379> ZRANGEBYLEX myindex "[banana:" + LIMIT 1 10 1) "banned user:49" 2) "banning:89" 127.0.0.1:6379> -
barnabyc revised this gist
Oct 15, 2015 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,3 @@ 127.0.0.1:6379> ZRANGEBYLEX myindex "[banana:" + LIMIT 1 10 1) "banned user:49" 2) "banning:89" -
barnabyc revised this gist
Oct 15, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,6 @@ 127.0.0.1:6379> ZRANGEBYLEX myindex "[banana:" + LIMIT 1 10 1) "banned user:49" 2) "banning:89" 127.0.0.1:6379> ZRANGEBYLEX myindex "[banana:" + LIMIT 1 1 1) "banned user:49" 127.0.0.1:6379> -
barnabyc created this gist
Oct 15, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ 127.0.0.1:6379> zadd myindex 0 "banana:123" 0 "banahhh:1" 0 "banned user:49" 0 "banning:89" (integer) 4 127.0.0.1:6379> ZRANGEBYLEX myindex "[banana:" + LIMIT 1 10 1) "banned user:49" 2) "banning:89" 127.0.0.1:6379>