Server-side JavaScript

Update

Update complete JSON documents by reading them from the database, converting them to JavaScript objects (Using .toObject()), and re-inserting them at their same URIs. It’s important to note that JSON nodes are immutable. That is, you cannot directly change a JSON node.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.