Enum mentat::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
KnownEmpty(EmptyBecause)
A query known in advance to be empty, and why we believe that.
KnownConstant
A query known in advance to return a constant value.
ExecutionPlan
A query that takes actual work to execute.
Fields of ExecutionPlan
query: SQLQuery | The translated query and any bindings. |
steps: Vec<QueryPlanStep> | The output of SQLite's |
Trait Implementations
Auto Trait Implementations
impl !Send for QueryExplanation
impl !Send for QueryExplanation
impl !Sync for QueryExplanation
impl !Sync for QueryExplanation