Change Intelligence is coming.

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

query

String

The SQL++ (N1QL) query to execute.

Yes

params

Element

Named parameters to bind to the query. Multiple params elements can be specified. See nested tags below.

No

Nested tags — params

Attribute

Type

Description

Required

name

String

The parameter name, referenced as $name in the query.

Yes

value

String

The parameter value.

Yes

loading

loading

loading