RunQueryResult: {
    AppliedParameters?: Record<string, any>;
    CacheHit?: boolean;
    CacheKey?: string;
    CacheTTLRemaining?: number;
    ErrorMessage: string;
    ExecutionTime: number;
    QueryID: string;
    QueryName: string;
    Results: any[];
    RowCount: number;
    Success: boolean;
    TotalRowCount: number;
}

Result of executing a saved query. Contains the query results and execution metadata.

Type declaration

  • Optional AppliedParameters?: Record<string, any>

    Parameters that were applied to the query, including defaults

  • Optional CacheHit?: boolean

    Whether this result was served from cache

  • Optional CacheKey?: string

    Cache key used for this query

  • Optional CacheTTLRemaining?: number

    Time until cache expiration in milliseconds

  • ErrorMessage: string
  • ExecutionTime: number
  • QueryID: string
  • QueryName: string
  • Results: any[]
  • RowCount: number
  • Success: boolean
  • TotalRowCount: number

    Total number of rows that would be returned without pagination. Only differs from RowCount when StartRow or MaxRows are used.