Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

IndexAdvice

import type { IndexAdvice } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

Recommendation to add new indexes to run queries more efficiently.

interface IndexAdvice {
ddl?: string[];
improvementFactor?: number;
}

§Properties

§
ddl?: string[]
[src]

Optional. DDL statements to add new indexes that will improve the query.

§
improvementFactor?: number
[src]

Optional. Estimated latency improvement factor. For example if the query currently takes 500 ms to run and the estimated latency with new indexes is 100 ms this field will be 5.