C++ - Query w/ Named Param

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

Visit the docs to learn more about N1QL Queries with C/C++.

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

Code Editor

Output