mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-15 20:40:43 +08:00
Updated README.md to include new commands
This commit is contained in:
12
README.md
12
README.md
@@ -121,7 +121,6 @@ Redis clients.
|
|||||||
# Supported Commands
|
# Supported Commands
|
||||||
|
|
||||||
## ACL
|
## ACL
|
||||||
* [AUTH](https://echovault.io/docs/commands/acl/auth)
|
|
||||||
* [ACL CAT](https://echovault.io/docs/commands/acl/acl_cat)
|
* [ACL CAT](https://echovault.io/docs/commands/acl/acl_cat)
|
||||||
* [ACL DELUSER](https://echovault.io/docs/commands/acl/acl_deluser)
|
* [ACL DELUSER](https://echovault.io/docs/commands/acl/acl_deluser)
|
||||||
* [ACL GETUSER](https://echovault.io/docs/commands/acl/acl_getuser)
|
* [ACL GETUSER](https://echovault.io/docs/commands/acl/acl_getuser)
|
||||||
@@ -144,19 +143,30 @@ Redis clients.
|
|||||||
* [SAVE](https://echovault.io/docs/commands/admin/save)
|
* [SAVE](https://echovault.io/docs/commands/admin/save)
|
||||||
|
|
||||||
## CONNECTION
|
## CONNECTION
|
||||||
|
* [AUTH](https://echovault.io/docs/commands/connection/auth)
|
||||||
|
* [HELLO](https://echovault.io/docs/commands/connection/hello)
|
||||||
* [PING](https://echovault.io/docs/commands/connection/ping)
|
* [PING](https://echovault.io/docs/commands/connection/ping)
|
||||||
|
* [SELECT](https://echovault.io/docs/commands/connection/select)
|
||||||
|
* [SWAPDB](https://echovault.io/docs/commands/connection/swapdb)
|
||||||
|
|
||||||
## GENERIC
|
## GENERIC
|
||||||
|
* [DECR](https://echovault.io/docs/commands/generic/decr)
|
||||||
|
* [DECRBY](https://echovault.io/docs/commands/generic/decrby)
|
||||||
* [DEL](https://echovault.io/docs/commands/generic/del)
|
* [DEL](https://echovault.io/docs/commands/generic/del)
|
||||||
* [EXPIRE](https://echovault.io/docs/commands/generic/expire)
|
* [EXPIRE](https://echovault.io/docs/commands/generic/expire)
|
||||||
* [EXPIRETIME](https://echovault.io/docs/commands/generic/expiretime)
|
* [EXPIRETIME](https://echovault.io/docs/commands/generic/expiretime)
|
||||||
|
* [FLUSHALL](https://echovault.io/docs/commands/generic/flushall)
|
||||||
|
* [FLUSHDB](https://echovault.io/docs/commands/generic/flushdb)
|
||||||
* [GET](https://echovault.io/docs/commands/generic/get)
|
* [GET](https://echovault.io/docs/commands/generic/get)
|
||||||
|
* [INCR](https://echovault.io/docs/commands/generic/incr)
|
||||||
|
* [INCRBY](https://echovault.io/docs/commands/generic/incrby)
|
||||||
* [MGET](https://echovault.io/docs/commands/generic/mget)
|
* [MGET](https://echovault.io/docs/commands/generic/mget)
|
||||||
* [MSET](https://echovault.io/docs/commands/generic/mset)
|
* [MSET](https://echovault.io/docs/commands/generic/mset)
|
||||||
* [PERSIST](https://echovault.io/docs/commands/generic/persist)
|
* [PERSIST](https://echovault.io/docs/commands/generic/persist)
|
||||||
* [PEXPIRE](https://echovault.io/docs/commands/generic/pexpire)
|
* [PEXPIRE](https://echovault.io/docs/commands/generic/pexpire)
|
||||||
* [PEXPIRETIME](https://echovault.io/docs/commands/generic/pexpiretime)
|
* [PEXPIRETIME](https://echovault.io/docs/commands/generic/pexpiretime)
|
||||||
* [PTTL](https://echovault.io/docs/commands/generic/pttl)
|
* [PTTL](https://echovault.io/docs/commands/generic/pttl)
|
||||||
|
* [RENAME](https://echovault.io/docs/commands/generic/rename)
|
||||||
* [SET](https://echovault.io/docs/commands/generic/set)
|
* [SET](https://echovault.io/docs/commands/generic/set)
|
||||||
* [TTL](https://echovault.io/docs/commands/generic/ttl)
|
* [TTL](https://echovault.io/docs/commands/generic/ttl)
|
||||||
|
|
||||||
|
@@ -227,8 +227,8 @@ Otherwise, the server will return "PONG".`,
|
|||||||
Module: constants.ConnectionModule,
|
Module: constants.ConnectionModule,
|
||||||
Categories: []string{constants.FastCategory, constants.ConnectionCategory},
|
Categories: []string{constants.FastCategory, constants.ConnectionCategory},
|
||||||
Description: `(HELLO [protover [AUTH username password] [SETNAME clientname]])
|
Description: `(HELLO [protover [AUTH username password] [SETNAME clientname]])
|
||||||
Switch to a different protocol, optionally authenticating and setting the connection's name,
|
Switch to a different protocol, optionally authenticating and setting the connection's name.
|
||||||
or provide a contextual client report.`,
|
This command returns a contextual client report.`,
|
||||||
Sync: false,
|
Sync: false,
|
||||||
KeyExtractionFunc: func(cmd []string) (internal.KeyExtractionFuncResult, error) {
|
KeyExtractionFunc: func(cmd []string) (internal.KeyExtractionFuncResult, error) {
|
||||||
return internal.KeyExtractionFuncResult{
|
return internal.KeyExtractionFuncResult{
|
||||||
|
@@ -854,7 +854,7 @@ LT - Only set the expiry time if the new expiry time is less than the current on
|
|||||||
{
|
{
|
||||||
Command: "incr",
|
Command: "incr",
|
||||||
Module: constants.GenericModule,
|
Module: constants.GenericModule,
|
||||||
Categories: []string{constants.KeyspaceCategory, constants.WriteCategory, constants.FastCategory},
|
Categories: []string{constants.WriteCategory, constants.FastCategory},
|
||||||
Description: `(INCR key)
|
Description: `(INCR key)
|
||||||
Increments the number stored at key by one. If the key does not exist, it is set to 0 before performing the operation.
|
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 cannot be represented as integer.
|
An error is returned if the key contains a value of the wrong type or contains a string that cannot be represented as integer.
|
||||||
@@ -866,7 +866,7 @@ This operation is limited to 64 bit signed integers.`,
|
|||||||
{
|
{
|
||||||
Command: "decr",
|
Command: "decr",
|
||||||
Module: constants.GenericModule,
|
Module: constants.GenericModule,
|
||||||
Categories: []string{constants.KeyspaceCategory, constants.WriteCategory, constants.FastCategory},
|
Categories: []string{constants.WriteCategory, constants.FastCategory},
|
||||||
Description: `(DECR key)
|
Description: `(DECR key)
|
||||||
Decrements the number stored at key by one.
|
Decrements the number stored at key by one.
|
||||||
If the key does not exist, it is set to 0 before performing the operation.
|
If the key does not exist, it is set to 0 before performing the operation.
|
||||||
@@ -879,7 +879,7 @@ This operation is limited to 64 bit signed integers.`,
|
|||||||
{
|
{
|
||||||
Command: "incrby",
|
Command: "incrby",
|
||||||
Module: constants.GenericModule,
|
Module: constants.GenericModule,
|
||||||
Categories: []string{constants.KeyspaceCategory, constants.WriteCategory, constants.FastCategory},
|
Categories: []string{constants.WriteCategory, constants.FastCategory},
|
||||||
Description: `(INCRBY key increment)
|
Description: `(INCRBY key increment)
|
||||||
Increments the number stored at key by increment. If the key does not exist, it is set to 0 before performing the operation.
|
Increments the number stored at key by increment. 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.`,
|
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.`,
|
||||||
@@ -901,7 +901,7 @@ An error is returned if the key contains a value of the wrong type or contains a
|
|||||||
{
|
{
|
||||||
Command: "decrby",
|
Command: "decrby",
|
||||||
Module: constants.GenericModule,
|
Module: constants.GenericModule,
|
||||||
Categories: []string{constants.KeyspaceCategory, constants.WriteCategory, constants.FastCategory},
|
Categories: []string{constants.WriteCategory, constants.FastCategory},
|
||||||
Description: `(DECRBY key decrement)
|
Description: `(DECRBY key decrement)
|
||||||
The DECRBY command reduces the value stored at the specified key by the specified decrement.
|
The DECRBY command reduces the value stored at the specified key by the specified decrement.
|
||||||
If the key does not exist, it is initialized with a value of 0 before performing the operation.
|
If the key does not exist, it is initialized with a value of 0 before performing the operation.
|
||||||
|
Reference in New Issue
Block a user