C++ - Upsert

This example shows an upsert of a document and then a retrieval of a portion of that document via the subdocument API.

Visit the docs to learn more about Key Value Operations in C/C++.

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

Code Editor

Output