Couchbase executeQueryFile
Last updated: July 13, 2026
Executes SQL++ queries from an external file against the Couchbase cluster.
Known limitations:
There is no automatic rollback support. Queries that modify data are permanent.
The SQL++ file must be accessible at the specified path when the migration runs.
Multiple statements in the file are executed sequentially.
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 |
|---|---|---|---|
| Boolean | When | No |
| Element | The file reference. See nested tags below. | Yes |
Nested tags — file
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Path to the SQL++ file containing the queries to execute. | Yes |
| Boolean | When | No |