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

    redis and string | Mar 1, 2016

    Increments the number stored at key by one. If the key does not exist, it is set to 0 before performing the operation. An error is returned if the key contains a value of the wrong type or contains a string that can not be represented as integer. This operation is limited to 64 bit signed integers.

    More »
  • GETSET

    redis and string | Mar 1, 2016

    Atomically sets key to value and returns the old value stored at key. Returns an error when key exists but does not hold a string value.

    More »
  • GETRANGE

    redis and string | Mar 1, 2016

    Warning: this command was renamed to GETRANGE, it is called SUBSTR in Redis versions <= 2.0.

    More »
  • GETBIT

    redis and string | Mar 1, 2016

    Returns the bit value at offset in the string value stored at key.

    More »
  • GET

    redis and string | Mar 1, 2016

    Get the value of key. If the key does not exist the special value nil is returned. An error is returned if the value stored at key is not a string, because GET only handles string values.

    More »
  • DECRBY

    redis and string | Mar 1, 2016

    Decrements the number stored at key by decrement. If the key does not exist, it is set to 0 before performing the operation. An error is returned if the key contains a value of the wrong type or contains a string that can not be represented as integer. This operation is limited to 64 bit signed integers.

    More »
    • ← Older

    • Newer →

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