Redis.lpop

Atomically return and remove the first (LPOP) or last (RPOP) element of the list. For example if the list contains the elements "a","b","c" LPOP will return "a" and the list will become "b","c". <p> If the key does not exist or the list is already empty the special value 'nil' is returned. @see #rpop(string) @param key @return Bulk reply

  1. string lpop(string key)
    class Redis
    string
    lpop
    (
    string key
    )
  2. alias lpop = BinaryRedis.lpop

Meta