Open oshadmi opened 3 years ago
What do these commands do? Can you provide a link detailing them? Can't seem to find them here https://oss.redislabs.com/redisjson/commands/
Thanks @oshadmi for the information.
I tried the commands and reviewed the provided test cases of (toggle, clear).
Correct me if I am wrong or I missed something, the specification of both of them is similar to that of json.del
.
Syntax JSON.CLEAR \
[path] JSON.TOGGLE \ [path]
And json.clear
returns 1 or 0
and error
similar to that of json.del
while json.toggle
returns corresponding boolean value and error
.
@oshadmi Feel free to submit a PR, I would be happy to review the changes.
Add support for the following commands:
json.toggle
json.clear