Type alias SingleExplainResult

SingleExplainResult: {
    cacheable: boolean;
    plan: ExplainPlan;
    planCacheKey?: string;
    stats: ExplainStats;
    warnings: {
        code: number;
        message: string;
    }[];
}

Result of explaining a query with a single plan.

Type declaration

  • cacheable: boolean

    Whether it would be possible to cache the query.

  • plan: ExplainPlan

    Query plan.

  • Optional planCacheKey?: string

    (ArangoDB 3.12.4 and later.) Key of the cached execution plan, only present if the server reused a plan from the plan cache.

  • stats: ExplainStats

    Optimizer statistics for the explained query.

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

    Warnings encountered while planning the query execution.