TinyBase logoTinyBase

ResultRow

The ResultRow type is the data structure representing a single row in the results of a query.

{[cellId: Id]: ResultCell}

A ResultRow is typically accessed with the getResultRow method or addResultRowListener method. It is similar to the Row type in the store module, but without schema-specific typing, and is a regular JavaScript object containing individual ResultCell objects, keyed by their Id.

Example

const resultRow: ResultRow = {species: 'dog', color: 'brown'};