Skip to content

Commit

Permalink
Update redis.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoubed authored Jul 27, 2018
1 parent 8019c0b commit a990a38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions databases/redis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ LINSERT key BEFORE|AFTER pivot value # insert an element before or after anothe
LLEN key # return the current length of the list
LPOP key # remove the first element from the list and returns it
LSET key index value # set the value of an element in a list by its index
LREM key number_of_occurrences value # delete occurrences of value if the list stored in key
LTRIM key start stop # trim a list to the specified range
RPOP key # remove the last element from the list and returns it
RPOPLPUSH source destination # remove the last element in a list, prepend it to another list and return it
Expand Down

0 comments on commit a990a38

Please sign in to comment.