TinyBase logoTinyBase beta

ResultRowListener

The ResultRowListener type describes a function that is used to listen to changes to a Row in a query's result Table.

(
  queries: Queries,
  tableId: Id,
  rowId: Id,
  getCellChange: GetCellChange | undefined,
): void
TypeDescription
queriesQueries

A reference to the Queries object that changed.

tableIdId

The Id of the Table that changed, which is also the query Id.

rowIdId

The Id of the Row that changed.

getCellChangeGetCellChange | undefined

A function that returns information about any Cell's changes.

returnsvoid

This has no return value.

A ResultRowListener is provided when using the addResultRowListener method. See that method for specific examples.

When called, a ResultRowListener is given a reference to the Queries object, the Id of the Table that changed (which is the same as the query Id), the Id of the Row that changed, and a GetCellChange function that can be used to query Cell values before and after the change.

Since

v2.0.0