Type alias QueryCachePropertiesOptions

QueryCachePropertiesOptions: {
    includeSystem?: boolean;
    maxEntrySize?: number;
    maxResults?: number;
    maxResultsSize?: number;
    mode?: "off" | "on" | "demand";
}

Options for adjusting the global properties for the AQL query results cache.

Type declaration

  • Optional includeSystem?: boolean

    If set to true, the query cache will include queries that involve system collections.

  • Optional maxEntrySize?: number

    Maximum individual size of query results that will be stored per database-specific cache.

  • Optional maxResults?: number

    Maximum number of query results that will be stored per database-specific cache.

  • Optional maxResultsSize?: number

    Maximum cumulated size of query results that will be stored per database-specific cache.

  • Optional mode?: "off" | "on" | "demand"

    Mode the AQL query cache should operate in.