Kotlin - Query Rows

Basic N1QL query, with looping through each returned row.

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