Couchbase executeQuery
Last updated: July 13, 2026
Executes a SQL++ (N1QL) query against the Couchbase cluster, with optional named parameters.
Known limitations:
There is no automatic rollback support. Queries that modify data are permanent.
The keyspace must be fully qualified in the query (e.g.,
`bucket`.`scope`.`collection`).
Available attributes
You must specify all top-level attributes marked as required. If you specify an optional attribute, you must also specify any nested attributes that it requires.
Attribute | Type | Description | Required |
|---|---|---|---|
| String | The SQL++ (N1QL) query to execute. | Yes |
| Element | Named parameters to bind to the query. Multiple | No |
Nested tags — params
Attribute | Type | Description | Required |
|---|---|---|---|
| String | The parameter name, referenced as | Yes |
| String | The parameter value. | Yes |