go - Query Rows

Basic N1QL query, with looping through each returned row.

Visit the docs to learn more about Handling Query Results in Go.

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

Code Editor

Output