A Redis engineer informed me that the JSON for the JSON.ARRAPPEND command (in the commands.json file) isn't correct. In particular, its path argument is listed as optional:
"JSON.ARRAPPEND": {
"summary": "Append one or more json values into the array at path after the last element in it.",
"complexity": "O(1) when path is evaluated to a single value...",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "path",
"type": "string",
"optional": true <---
},
{
"name": "value",
"type": "string",
"multiple": true
}
],
"since": "1.0.0",
"group": "json"
}
A Redis engineer informed me that the JSON for the JSON.ARRAPPEND command (in the
commands.jsonfile) isn't correct. In particular, itspathargument is listed as optional:I'm told that
pathis not optional but required.