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

    redis and string | Mar 1, 2016

    Returns the length of the string value stored at key. An error is returned when key holds a non-string value.

    More »
  • SETRANGE

    redis and string | Mar 1, 2016

    Overwrites part of the string stored at key, starting at the specified offset, for the entire length of value. If the offset is larger than the current length of the string at key, the string is padded with zero-bytes to make offset fit. Non-existing keys are considered as empty strings, so this command will make sure it holds a string large enough to be able to set value at offset.

    More »
  • SETNX

    redis and string | Mar 1, 2016

    Set key to hold string value if key does not exist. In that case, it is equal to SET. When key already holds a value, no operation is performed. SETNX is short for “SET if Not eXists”.

    More »
  • SETEX

    redis and string | Mar 1, 2016

    Set key to hold the string value and set key to timeout after a given number of seconds. This command is equivalent to executing the following commands:

    More »
  • SETBIT

    redis and string | Mar 1, 2016

    Sets or clears the bit at offset in the string value stored at key.

    More »
  • SET

    redis and string | Mar 1, 2016

    Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type. Any previous time to live associated with the key is discarded on successful SET operation.

    More »
    • ← Older

    • Newer →

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