Push an element at the end of the list.
assert redis.rpush("mylist", "one", "two", "three") == 3 assert lrange("mylist", 0, -1) == ["one", "two", "three"]
The key of the list.
One or more elements to push at the end of the list.
The length of the list after the push operation.
Was this page helpful?