Updated core

This commit is contained in:
tidwall 2018-12-29 13:35:56 -07:00
parent c63effe54a
commit dab6a7ea65

View File

@ -448,6 +448,38 @@ var commandsJSON = `{
"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",
@ -1723,7 +1755,7 @@ var commandsJSON = `{
}, },
"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",
@ -1751,7 +1783,7 @@ var commandsJSON = `{
}, },
"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",
@ -1779,7 +1811,7 @@ var commandsJSON = `{
}, },
"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",
@ -1807,7 +1839,7 @@ var commandsJSON = `{
}, },
"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",
@ -1835,7 +1867,7 @@ var commandsJSON = `{
}, },
"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",
@ -1863,7 +1895,7 @@ var commandsJSON = `{
}, },
"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",