Member Junction
    Preparing search index...

    Interface CachedRunViewResult

    Return type for GetRunViewResult and ApplyDifferentialUpdate. Includes rowCount (derived from results.length) and totalRowCount (from the database).

    interface CachedRunViewResult {
        aggregateResults?: AggregateResult[];
        maxUpdatedAt: string;
        results: unknown[];
        rowCount: number;
        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

    rowCount: number

    Row count - derived from results.length

    schemaHash?: string

    Schema fingerprint captured when these rows were cached, surfaced from the stored payload so in-place maintenance can carry it FORWARD when rewriting the slot (B38). Without it the rewrite drops the hash, and isSchemaStaleCacheEntry short-circuits on a missing hash — permanently disabling post-migration drift detection for that slot.

    totalRowCount?: number

    Total row count from the database — may differ from rowCount for paginated queries