doc: readme - set command mapping

This commit is contained in:
Anton
2024-04-26 11:53:59 +05:00
parent 1757da1a6d
commit dc1d2b353c

View File

@@ -34,7 +34,7 @@ Command Go API Description
DECR DB.Str().Incr Decrements the integer value of a key by one.
DECRBY DB.Str().Incr Decrements a number from the integer value of a key.
GET DB.Str().Get Returns the value of a key.
GETSET DB.Str().GetSet Sets the key to a new value and returns the prev value.
GETSET DB.Str().SetWith Sets the key to a new value and returns the prev value.
INCR DB.Str().Incr Increments the integer value of a key by one.
INCRBY DB.Str().Incr Increments the integer value of a key by a number.
INCRBYFLOAT DB.Str().IncrFloat Increments the float value of a key by a number.
@@ -43,7 +43,7 @@ MSET DB.Str().SetMany Sets the values of one or more keys.
PSETEX DB.Str().SetExpires Sets the value and expiration time (in ms) of a key.
SET DB.Str().Set Sets the value of a key.
SETEX DB.Str().SetExpires Sets the value and expiration (in sec) time of a key.
SETNX DB.Str().SetNotExists Sets the value of a key when the key doesn't exist.
SETNX DB.Str().SetWith Sets the value of a key when the key doesn't exist.
```
The following string-related commands are not planned for 1.0: