Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QueryOptions

Hierarchy

  • QueryOptions

Index

Properties

Optional adhoc

adhoc: boolean

Specifies whether this is an ad-hoc query, or if it should be prepared for faster execution in the future.

Optional clientContextId

clientContextId: string

The returned client context id for this query.

Optional consistentWith

consistentWith: MutationState

Specifies a MutationState which the query should be consistent with.

see

MutationState

Optional flexIndex

flexIndex: boolean

Specifies whether flex-indexes should be enabled. Allowing the use of full-text search from the query service.

Optional maxParallelism

maxParallelism: number

This is an advanced option, see the query service reference for more information on the proper use and tuning of this option.

Optional metrics

metrics: boolean

Specifies whether metrics should be captured as part of the execution of the query.

Optional parameters

parameters: any[] | {}

Values to be used for the placeholders within the query.

Optional parentSpan

parentSpan: RequestSpan

The parent tracing span that this operation will be part of.

Optional pipelineBatch

pipelineBatch: number

This is an advanced option, see the query service reference for more information on the proper use and tuning of this option.

Optional pipelineCap

pipelineCap: number

This is an advanced option, see the query service reference for more information on the proper use and tuning of this option.

Optional profile

Specifies the level of profiling that should be used for the query.

Optional queryContext

queryContext: string

Specifies the context within which this query should be executed. This can be scoped to a scope or a collection within the dataset.

Optional raw

raw: {}

Specifies any additional parameters which should be passed to the query engine when executing the query.

Type declaration

  • [key: string]: any

Optional readOnly

readOnly: boolean

Specifies that this query should be executed in read-only mode, disabling the ability for the query to make any changes to the data.

Optional scanCap

scanCap: number

This is an advanced option, see the query service reference for more information on the proper use and tuning of this option.

Optional scanConsistency

scanConsistency: QueryScanConsistency

Specifies the consistency requirements when executing the query.

see

QueryScanConsistency

Optional scanWait

scanWait: number

This is an advanced option, see the query service reference for more information on the proper use and tuning of this option.

Optional timeout

timeout: number

The timeout for this operation, represented in milliseconds.

Generated using TypeDoc