incorrect GETRANGE description

https://redis.io/commands/getrange

It seems the GETRANGE description is incorrect. Updated for correctness.

Perhaps the longer description is better; `# get substring of the value stored in key, determined by the offsets start and end (both are inclusive).`
This commit is contained in:
Stephan Nordnes Eriksen 2018-01-26 08:51:10 +01:00 committed by GitHub
parent fd83adda70
commit 360b734404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ STRLEN key # get the length of the value stored in a key
MSET key value [key value ...] # set multiple keys to multiple values
MSETNX key value [key value ...] # set multiple keys to multiple values, only if none of the keys exist
GET key # get value in key
GETRANGE key value # get a substring value of a key and return its old value
GETRANGE key start end # get substring of stored value from start to end offsets (both inclusive)
MGET key [key ...] # get the values of all the given keys
INCR key # increment value in key
INCRBY key increment # increment the integer value of a key by the given amount