OptionaladhocOptionalclientThe returned client context id for this query.
OptionalconsistentSpecifies a MutationState which the query should be consistent with.
OptionalflexSpecifies whether flex-indexes should be enabled. Allowing the use of full-text search from the query service.
OptionalmaxThis is an advanced option, see the query service reference for more information on the proper use and tuning of this option.
OptionalmetricsSpecifies whether metrics should be captured as part of the execution of the query.
OptionalparametersValues to be used for the placeholders within the query.
OptionalparentSpecifies the parent span for this specific operation.
OptionalpipelineThis is an advanced option, see the query service reference for more information on the proper use and tuning of this option.
OptionalpipelineThis is an advanced option, see the query service reference for more information on the proper use and tuning of this option.
OptionalpreserveSpecifies that the query should preserve the existing document expiry times when mutating documents.
OptionalprofileSpecifies the level of profiling that should be used for the query.
OptionalquerySpecifies the context within which this query should be executed. This can be scoped to a scope or a collection within the dataset.
OptionalrawSpecifies any additional parameters which should be passed to the query engine when executing the query.
OptionalreadSpecifies that this query should be executed in read-only mode, disabling the ability for the query to make any changes to the data.
OptionalscanThis is an advanced option, see the query service reference for more information on the proper use and tuning of this option.
OptionalscanSpecifies the consistency requirements when executing the query.
OptionalscanThis is an advanced option, see the query service reference for more information on the proper use and tuning of this option. Specified in milliseconds.
OptionalsignalAn AbortSignal which cancels the query when it aborts. The query then
fails with a RequestCanceledError whose cause is the signal's
reason, and emits no further rows.
An adhoc query is cancelled by closing its connection to the query
service, which normally stops the query on the server too. A query with
adhoc: false is not interrupted: it runs to completion and its result is
discarded. Over a couchbase2:// connection either kind is cancelled by
cancelling its call to the gateway.
OptionaltimeoutThe timeout for this operation, represented in milliseconds.
OptionaluseSpecifies whether the query engine should use replica nodes for kv fetches, if the active node is down.
Specifies whether this is an ad-hoc query, or if it should be prepared for faster execution in the future.