Type alias MultiExplainResult

MultiExplainResult: {
    cacheable: boolean;
    plans: ExplainPlan[];
    stats: {
        plansCreated: number;
        rulesExecuted: number;
        rulesSkipped: number;
    };
    warnings: {
        code: number;
        message: string;
    }[];
}

Result of explaining a query with multiple plans.

Type declaration

  • cacheable: boolean

    Whether it would be possible to cache the query.

  • plans: ExplainPlan[]

    Query plans.

  • stats: {
        plansCreated: number;
        rulesExecuted: number;
        rulesSkipped: number;
    }

    Statistical information about the query plan generation.

    • plansCreated: number

      Total number of plans created.

    • rulesExecuted: number

      Total number of rules executed for this query.

    • rulesSkipped: number

      Number of rules skipped for this query.

  • warnings: {
        code: number;
        message: string;
    }[]

    Warnings encountered while planning the query execution.

Generated using TypeDoc