rpop
RPOP
RPOP key
Removes and returns the last element of the list stored at key
.
Return value
Bulk string reply: the value of the last element, or nil
when key
does not exist.
Examples
redis> RPUSH mylist "one"
(integer) 1
redis> RPUSH mylist "two" (integer) 2
redis> RPUSH mylist "three" (integer) 3
登录查看完整内容