dragonfly
dragonfly copied to clipboard
feat(server): Support for LIMIT and REV in ZRANGE #422
Closes #422
Since the new ZRange regroups all the other (now deprecated) ZRange functions, I did some refactoring to avoid duplicating code from these functions. This made it possible to have support for ZRevRangeByLex for free, since the visitor function already supported it. Also spotted and corrected an error in ZRangeByLex when parsing the offset parameter.
There are some unrelated formatting changes that were added by clang-format.
I made a mistake when handling parameters following the LIMIT group, the new commits should fix that
@RedhaL i pinged you at discord :)
@dranikpg I just added the fix for zrangebyscore as well