研发笔记
  • 归档
  • redis手册
  • 关于
  • LPUSHX

    redis and list | Mar 3, 2016

    Inserts value at the head of the list stored at key, only if key already exists and holds a list. In contrary to LPUSH, no operation will be performed when key does not yet exist.

    More »
  • LPUSH

    redis and list | Mar 3, 2016

    Insert all the specified values at the head of the list stored at key. If key does not exist, it is created as empty list before performing the push operations. When key holds a value that is not a list, an error is returned.

    More »
  • LPOP

    redis and list | Mar 3, 2016

    Removes and returns the first element of the list stored at key.

    More »
  • LLEN

    redis and list | Mar 3, 2016

    Returns the length of the list stored at key. If key does not exist, it is interpreted as an empty list and 0 is returned. An error is returned when the value stored at key is not a list.

    More »
  • LINSERT

    redis and list | Mar 3, 2016

    Inserts value in the list stored at key either before or after the reference value pivot.

    More »
  • LINDEX

    redis and list | Mar 3, 2016

    Returns the element at index index in the list stored at key. The index is zero-based, so 0 means the first element, 1 the second element and so on. Negative indices can be used to designate elements starting at the tail of the list. Here, -1 means the last element, -2 means the penultimate and so forth.

    More »
    • ← Older

    • Newer →

  • ©2016 whatrd.com
  • 鄂ICP备16005622号-3