Type alias QueryInfo

QueryInfo: {
    bindVars: Record<string, any>;
    id: string;
    query: string;
    runTime: number;
    started: string;
    state: "executing" | "finished" | "killed";
    stream: boolean;
}

Object describing a query.

Type declaration

  • bindVars: Record<string, any>

    Bind parameters used in the query.

  • id: string

    Unique identifier for this query.

  • query: string

    Query string (potentially truncated).

  • runTime: number

    Query's running time in seconds.

  • started: string

    Date and time the query was started.

  • state: "executing" | "finished" | "killed"

    Query's current execution state.

  • stream: boolean

    Whether the query uses a streaming cursor.

Generated using TypeDoc