mirror of https://github.com/tidwall/tile38.git
update FSET args
This commit is contained in:
parent
fb6c29203b
commit
89662d9c89
|
@ -182,10 +182,15 @@
|
||||||
"type": [],
|
"type": [],
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": ["field","value"],
|
||||||
|
"type": ["string","double"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": ["field","value"],
|
"name": ["field","value"],
|
||||||
"type": ["string","double"],
|
"type": ["string","double"],
|
||||||
"multiple": true
|
"multiple": true,
|
||||||
|
"optional": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"since": "1.0.0",
|
"since": "1.0.0",
|
||||||
|
|
|
@ -331,7 +331,7 @@ var commandsJSON = `{
|
||||||
"group": "keys"
|
"group": "keys"
|
||||||
},
|
},
|
||||||
"FSET": {
|
"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)",
|
"complexity": "O(1)",
|
||||||
"arguments":[
|
"arguments":[
|
||||||
{
|
{
|
||||||
|
@ -343,12 +343,20 @@ var commandsJSON = `{
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "field",
|
"command": "XX",
|
||||||
"type": "string"
|
"name": [],
|
||||||
|
"type": [],
|
||||||
|
"optional": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "value",
|
"name": ["field","value"],
|
||||||
"type": "double"
|
"type": ["string","double"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": ["field","value"],
|
||||||
|
"type": ["string","double"],
|
||||||
|
"multiple": true,
|
||||||
|
"optional": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"since": "1.0.0",
|
"since": "1.0.0",
|
||||||
|
|
Loading…
Reference in New Issue