rediserver icon indicating copy to clipboard operation
rediserver copied to clipboard

add list operations

Open r2evans opened this issue 6 years ago • 0 comments

Thanks for the basic functionality! I have use for ordered pubsub queues, so I wanted to add list operations to the functions available. I started with https://redis.io/commands#list and skipped "blocking" functions.

Redis functions implemented: LINDEX, LINSERT, LLEN, LPOP, LPUSH, LPUSHX, LRANGE, LREM, LSET, LTRIM, RPOP, RPOPLPUSH, RPUSH, RPUSHX.

NB: I added crude tests, mostly due to time and infamiliarity with pytest and the existing structure. While they work, it's likely they could be improved or at least formalized better than I've done here. They are not automatically run, ready at the moment for manual/interactive testing.

r2evans avatar May 10 '19 22:05 r2evans