Java - Query w/ Positional Param

This example shows how to use positional parameters with the cluster.query() method.

Visit the docs to learn more about N1QL Queries with Java.

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

Code Editor

Output