Result type extended with cache information

interface CachedRunQueryResult {
    CacheHit?: boolean;
    CacheKey?: string;
    CacheTTLRemaining?: number;
}

Properties

CacheHit?: boolean

Whether this result was served from cache

CacheKey?: string

Cache key used for this query

CacheTTLRemaining?: number

Time until cache expiration in milliseconds