LREM
count > 0
: Remove elements equal toelement
moving from head to tail.count < 0
: Remove elements equal toelement
moving from tail to head.count = 0
: Remove all elements equal to .
(integer) 1
dragonfly> RPUSH mylist "hello"
dragonfly> RPUSH mylist "foo"
(integer) 3
dragonfly> RPUSH mylist "hello"
dragonfly> LREM mylist -2 "hello"
(integer) 2
dragonfly> LRANGE mylist 0 -1
1) "hello"