Remove the first element from a list.
Atomically return and remove the first element of the list.
For example if the list contains the elements "a","b","c"
redisLPop
will return "a" and the list will become "b","c".
redisLPop(key, ...)
key |
The desired key associated with a list. |
... |
Optional additional arguments. Specify |
The first element of the list associated with the specified key, or NULL if the list is empty.
B. W. Lewis
http://redis.io/commands
## Not run: redisConnect() redisLPush('a',1) redisLPush('a',2) redisLPush('a',3) redisLPop('a') ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.