Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
I had a question about zscan, how to return a sorted list (from min to max) and use zscan.
Now I look seems to not sorted list, but every return result set is the same.
e.g:
zscan key 0 match count 3
return: 1:1, 3:3, 5:5
zscan key 0 match count 5
return: 1:1, 3:3, 5:5, 4:4, 9:9
I had a question about zscan, how to return a sorted list (from min to max) and use zscan. Now I look seems to not sorted list, but every return result set is the same. e.g: zscan key 0 match count 3 return: 1:1, 3:3, 5:5 zscan key 0 match count 5 return: 1:1, 3:3, 5:5, 4:4, 9:9