mirror of https://github.com/tidwall/tile38.git
Add command stubs for new commands. Fix typos.
This commit is contained in:
parent
e1c82e17f7
commit
2a544f2d2c
|
@ -282,6 +282,38 @@
|
|||
"since": "1.0.0",
|
||||
"group": "keys"
|
||||
},
|
||||
"RENAME": {
|
||||
"summary": "Rename a key to be stored under a different name.",
|
||||
"complexity": "O(1)",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "newkey",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"since": "1.14.5",
|
||||
"group": "keys"
|
||||
},
|
||||
"RENAMENX": {
|
||||
"summary": "Rename a key to be stored under a different name, if a new key does not exist.",
|
||||
"complexity": "O(1)",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "newkey",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"since": "1.14.5",
|
||||
"group": "keys"
|
||||
},
|
||||
"KEYS": {
|
||||
"summary": "Finds all keys matching the given pattern",
|
||||
"complexity": "O(N) where N is the number of keys in the database",
|
||||
|
@ -1557,7 +1589,7 @@
|
|||
},
|
||||
"EVAL":{
|
||||
"summary": "Evaluates a Lua script",
|
||||
"complecxity": "Depends on the evaluated script",
|
||||
"complexity": "Depends on the evaluated script",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "script",
|
||||
|
@ -1585,7 +1617,7 @@
|
|||
},
|
||||
"EVALSHA":{
|
||||
"summary": "Evaluates a Lua script cached on the server by its SHA1 digest",
|
||||
"complecxity": "Depends on the evaluated script",
|
||||
"complexity": "Depends on the evaluated script",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "sha1",
|
||||
|
@ -1613,7 +1645,7 @@
|
|||
},
|
||||
"EVALRO":{
|
||||
"summary": "Evaluates a read-only Lua script",
|
||||
"complecxity": "Depends on the evaluated script",
|
||||
"complexity": "Depends on the evaluated script",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "script",
|
||||
|
@ -1641,7 +1673,7 @@
|
|||
},
|
||||
"EVALROSHA":{
|
||||
"summary": "Evaluates a read-only Lua script cached on the server by its SHA1 digest",
|
||||
"complecxity": "Depends on the evaluated script",
|
||||
"complexity": "Depends on the evaluated script",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "script",
|
||||
|
@ -1669,7 +1701,7 @@
|
|||
},
|
||||
"EVALNA":{
|
||||
"summary": "Evaluates a Lua script in a non-atomic fashion",
|
||||
"complecxity": "Depends on the evaluated script",
|
||||
"complexity": "Depends on the evaluated script",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "script",
|
||||
|
@ -1697,7 +1729,7 @@
|
|||
},
|
||||
"EVALNASHA":{
|
||||
"summary": "Evaluates, in a non-atomic fashion, a Lua script cached on the server by its SHA1 digest",
|
||||
"complecxity": "Depends on the evaluated script",
|
||||
"complexity": "Depends on the evaluated script",
|
||||
"arguments": [
|
||||
{
|
||||
"name": "sha1",
|
||||
|
|
Loading…
Reference in New Issue