SQL++ - Update

UPDATE modifies an existing document.

Currently, this statement only provides document-level atomicity, so it is not supported for use in production.

The example on the right would change the type of the document "baldwin" from "contact" to "actor".

To run this example, click the button in the top right corner of the code editor.

Code Editor

Output