Represents a cached query result entry with metadata

interface QueryCacheEntry {
    hitCount: number;
    parameters: Record<string, any>;
    queryId: string;
    results: any[];
    timestamp: number;
    ttlMinutes: number;
}

Properties

hitCount: number

Number of times this cache entry has been accessed

parameters: Record<string, any>

The parameters used for this specific query execution

queryId: string

The query ID this cache entry belongs to

results: any[]

The cached query results

timestamp: number

Timestamp when this entry was cached

ttlMinutes: number

TTL in minutes for this specific cache entry