Enum mentat_transaction::query::QueryExplanation [] [src]

pub enum QueryExplanation {
    KnownEmpty(EmptyBecause),
    KnownConstant,
    ExecutionPlan {
        query: SQLQuery,
        steps: Vec<QueryPlanStep>,
    },
}

A struct describing information about how Mentat would execute a query.

Variants

A query known in advance to be empty, and why we believe that.

A query known in advance to return a constant value.

A query that takes actual work to execute.

Fields of ExecutionPlan

The translated query and any bindings.

The output of SQLite's EXPLAIN QUERY PLAN.