miniredis
miniredis copied to clipboard
SORT command not supported
Hi, I am trying to write unit tests for our system using miniredis. Our system utilises SORT command of redis extensively. But miniredis doesn't support SORT command yet. I would like to request the addition of SORT command support in the library. Regards
Thank you for your report!
I have no idea how I missed the SORT command, and it should indeed be added.
On which datatypes do you use the command? list or sets?
I use the SORT primarily with sets.
Just now i noticed that ZREVRANGEBYLEX command is also missing support.
ok. At least that one is relatively new :)
is this not supported yet?
SORT is one of these messy commands with a ton of options and special cases. If someone makes a PR I'm happy to merge it :)