-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add materials for JSON.MERGE
command.
#59
Comments
Do this at the same time as #60 |
This should go in the course in or just after section 1.4 - Updating Data with RedisJSON. |
We should also update the code examples in section 2.2 to demonstrate this. |
Command examples - remove author, change content of editions, update pages, add has_ebook_version:
Add the author back, remove has_ebook_version:
|
Also add example for when the key doesn't exist and when the path into the document doesn't exist but the document does. |
Add a fragment of a new book (where the key didn't exist already): Check if the book exists...
Demo that you can only merge into the root when the key doesn't exist yet:
Create a partial new book there:
Tidy up:
|
Also need to note that if you want to set a value to explicitly |
When the
JSON.MERGE
command is available in the cloud, enhance the course with content for it.The text was updated successfully, but these errors were encountered: