Kotlin - Sub-document Lookup

The Sub-document API allows for retrieving or mutating a portion of a larger document, without having to first retrieve the entire document, which can provide for higher performance.

See more at the SDK documentation on Kotlin Getting Started.

API reference can be found here.

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

Code Editor

Output