Type alias QueryCacheEntry

QueryCacheEntry: {
    bindVars: Record<string, any>;
    dataSources: string[];
    hash: string;
    hits: number;
    query: string;
    results: number;
    runTime: number;
    size: number;
    started: string;
}

Entry in the AQL query results cache.

Type declaration

  • bindVars: Record<string, any>

    Bind parameters used in the query. Only shown if tracking for bind variables was enabled at server start.

  • dataSources: string[]

    Collections and views involved in the query.

  • hash: string

    Hash of the query results.

  • hits: number

    Number of times the result was served from the cache.

  • query: string

    Query string.

  • results: number

    Number of documents/rows in the query results.

  • runTime: number

    Running time of the query in seconds.

  • size: number

    Size of the query results and bind parameters in bytes.

  • started: string

    Date and time the query was started as an ISO 8601 timestamp.