Member Junction
    Preparing search index...

    Interface CachedRunViewData

    Structure of cached RunView data stored in the storage provider. Note: rowCount is NOT persisted - it is always derived from results.length to prevent data inconsistency.

    interface CachedRunViewData {
        aggregateResults?: AggregateResult[];
        maxUpdatedAt: string;
        results: unknown[];
        schemaHash?: string;
        totalRowCount?: number;
    }
    Index

    Properties

    aggregateResults?: AggregateResult[]

    Cached aggregate results, if aggregates were requested

    maxUpdatedAt: string

    The maximum __mj_UpdatedAt timestamp from the results

    results: unknown[]

    The cached result rows

    schemaHash?: string

    Hash of the entity's field names (in sequence order) at the time the cache entry was written. Used to detect schema changes (e.g., new columns added via migration + CodeGen) that would make the cached data structurally stale even though maxUpdatedAt and rowCount haven't changed. Backward-compatible: entries without this field are served normally (no regression).

    totalRowCount?: number

    Total row count from the database — may differ from results.length for paginated queries