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",
|
"since": "1.0.0",
|
||||||
"group": "keys"
|
"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": {
|
"KEYS": {
|
||||||
"summary": "Finds all keys matching the given pattern",
|
"summary": "Finds all keys matching the given pattern",
|
||||||
"complexity": "O(N) where N is the number of keys in the database",
|
"complexity": "O(N) where N is the number of keys in the database",
|
||||||
@ -1557,7 +1589,7 @@
|
|||||||
},
|
},
|
||||||
"EVAL":{
|
"EVAL":{
|
||||||
"summary": "Evaluates a Lua script",
|
"summary": "Evaluates a Lua script",
|
||||||
"complecxity": "Depends on the evaluated script",
|
"complexity": "Depends on the evaluated script",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "script",
|
"name": "script",
|
||||||
@ -1585,7 +1617,7 @@
|
|||||||
},
|
},
|
||||||
"EVALSHA":{
|
"EVALSHA":{
|
||||||
"summary": "Evaluates a Lua script cached on the server by its SHA1 digest",
|
"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": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "sha1",
|
"name": "sha1",
|
||||||
@ -1613,7 +1645,7 @@
|
|||||||
},
|
},
|
||||||
"EVALRO":{
|
"EVALRO":{
|
||||||
"summary": "Evaluates a read-only Lua script",
|
"summary": "Evaluates a read-only Lua script",
|
||||||
"complecxity": "Depends on the evaluated script",
|
"complexity": "Depends on the evaluated script",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "script",
|
"name": "script",
|
||||||
@ -1641,7 +1673,7 @@
|
|||||||
},
|
},
|
||||||
"EVALROSHA":{
|
"EVALROSHA":{
|
||||||
"summary": "Evaluates a read-only Lua script cached on the server by its SHA1 digest",
|
"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": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "script",
|
"name": "script",
|
||||||
@ -1669,7 +1701,7 @@
|
|||||||
},
|
},
|
||||||
"EVALNA":{
|
"EVALNA":{
|
||||||
"summary": "Evaluates a Lua script in a non-atomic fashion",
|
"summary": "Evaluates a Lua script in a non-atomic fashion",
|
||||||
"complecxity": "Depends on the evaluated script",
|
"complexity": "Depends on the evaluated script",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "script",
|
"name": "script",
|
||||||
@ -1697,7 +1729,7 @@
|
|||||||
},
|
},
|
||||||
"EVALNASHA":{
|
"EVALNASHA":{
|
||||||
"summary": "Evaluates, in a non-atomic fashion, a Lua script cached on the server by its SHA1 digest",
|
"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": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "sha1",
|
"name": "sha1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user