interface MockTypedQueryCollection<TRow> A query collection of a typed mock: its rows, and the loads the page asked for.
Properties
version
readonly version: number; No documentation.
total
readonly total: number; The rows that match the query.
rows
readonly rows: readonly TRow[]; The rows in the source's order.
loads
readonly loads: readonly MockQueryLoad[]; Every query-rows request the page sent, oldest first: what it loaded, and how much.
Methods
view
view(): readonly TRow[]; The rows in the query's order.
setRows
setRows(rows: readonly TRow[]): void; Replaces the rows and raises the version, as .NET's Refresh() after rows were added or removed.
invalidate
invalidate(): void; Raises the version, as .NET's Invalidate(key) after rows changed in place.