miniredis
miniredis copied to clipboard
LPOS is not supported command for LISTs
LPOS is the command to return the index of matching elements inside a Redis list. It doesn't seem to supported at the moment.
https://redis.io/commands/lpos
Wondering whether there are plans to add it.
LMPOP, BLMOVE and BLMPOP are some other that I discovered are not supported.
Thanks for your issue!
Available since 6.0.6.
that explains, it got added after we added the other L commands, and since then no-one asked for it.
There are no concrete plans, but they are likely not hard to add, and I will have a look when I have some time. PRs are always welcome as well, of course.
In progress https://github.com/alicebob/miniredis/compare/master...ianstarz:miniredis:lpos?expand=1
I should be able to finish this up by next week.
Ready for review