Interface: IvmLiveQueryLike<T>
Interface: IvmLiveQueryLike<T>
Section titled “Interface: IvmLiveQueryLike<T>”Defined in: client/src/ivm.ts:81
Duck-typed shape both IvmLiveQuery and IvmAggregateLiveQuery
satisfy. The engine’s ivmByTable map holds this interface so
dispatchChanges and refreshIvmForTable(s)Batch don’t have to
branch on which flavour the query is.
Type Parameters
Section titled “Type Parameters”T = unknown
Properties
Section titled “Properties”sourceTables
Section titled “sourceTables”
readonlysourceTables: readonlystring[]
Defined in: client/src/ivm.ts:86
Methods
Section titled “Methods”applyChange()
Section titled “applyChange()”applyChange(
change):void
Defined in: client/src/ivm.ts:82
Parameters
Section titled “Parameters”change
Section titled “change”Returns
Section titled “Returns”void
refresh()
Section titled “refresh()”refresh(
rowsPerTable):void
Defined in: client/src/ivm.ts:83
Parameters
Section titled “Parameters”rowsPerTable
Section titled “rowsPerTable”ReadonlyMap<string, readonly Row[]>
Returns
Section titled “Returns”void
subscribe()
Section titled “subscribe()”subscribe(
cb): () =>void
Defined in: client/src/ivm.ts:84
Parameters
Section titled “Parameters”(rows) => void
Returns
Section titled “Returns”() => void
subscribeDelta()
Section titled “subscribeDelta()”subscribeDelta(
cb): () =>void
Defined in: client/src/ivm.ts:85
Parameters
Section titled “Parameters”(delta) => void
Returns
Section titled “Returns”() => void