Kotlin - Key Value Get

Given a document's key, you can use the collection.get() function to retrieve a document from a collection.

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