Framework
QueryPlan
Interface: QueryPlan
Query execution plan.
Properties
| Property | Type | Description |
|---|---|---|
description | string | Description for debugging |
estimatedCost | number | Estimated cost (lower is better) |
indexField? | string | Index to use (if applicable) |
indexProvidesOrder | boolean | Whether index provides ordering (no in-memory sort needed) |
postFilterFields | string[] | Fields that need post-filter (after index scan) |
rangeOptions? | RangeOptions | Range options for index scan |
type | "full-scan" | "index-scan" | "index-range" | "filter-check" | Strategy type |
useFilter | boolean | Whether to use filter for pre-check |
