update FSET args

This commit is contained in:
Josh Baker 2017-11-16 18:19:07 -07:00
parent fb6c29203b
commit 89662d9c89
2 changed files with 25 additions and 12 deletions

View File

@ -182,10 +182,15 @@
"type": [],
"optional": true
},
{
"name": ["field","value"],
"type": ["string","double"]
},
{
"name": ["field","value"],
"type": ["string","double"],
"multiple": true
"multiple": true,
"optional": true
}
],
"since": "1.0.0",

View File

@ -331,7 +331,7 @@ var commandsJSON = `{
"group": "keys"
},
"FSET": {
"summary": "Set the value for a single field of an id",
"summary": "Set the value for one or more fields of an id",
"complexity": "O(1)",
"arguments":[
{
@ -343,12 +343,20 @@ var commandsJSON = `{
"type": "string"
},
{
"name": "field",
"type": "string"
"command": "XX",
"name": [],
"type": [],
"optional": true
},
{
"name": "value",
"type": "double"
"name": ["field","value"],
"type": ["string","double"]
},
{
"name": ["field","value"],
"type": ["string","double"],
"multiple": true,
"optional": true
}
],
"since": "1.0.0",
@ -665,12 +673,12 @@ var commandsJSON = `{
"type": "pattern",
"optional": true
},
{
"command": "DISTANCE",
"name": [],
"type": [],
"optional": true
},
{
"command": "DISTANCE",
"name": [],
"type": [],
"optional": true
},
{
"command": "WHERE",
"name": ["field","min","max"],