S

Loading…

Interfacebeta

ExplainResult

The query plan the server reports for a find. The shape is experimental and may change in any release; see docs/compatibility.md.

interface ExplainResult

Defined in packages/driver/src/indexes.ts:122

Properties#

P

access

#beta
readonly access?: "equality" | "in" | "range"

How the index is read: by equality, by a list of values, or by a range.

Defined in packages/driver/src/indexes.ts:141

P

stage

#beta
readonly stage: "COLLSCAN" | "IDLOOKUP" | "IXSCAN"

The strategy: COLLSCAN reads every document, IDLOOKUP reads by _id, and IXSCAN scans an index.

Defined in packages/driver/src/indexes.ts:127

Used by#