TinyBase logoTinyBase

Row

The Row type is the data structure representing the data in a single row.

{[cellId: Id]: Cell}

A Row is used when setting a row with the setRow method, and when getting it back out again with the getRow method. A Row object is a regular JavaScript object containing individual Cell objects, keyed by their Id.

Example

import type {Row} from 'tinybase';

export const row: Row = {species: 'dog', color: 'brown'};

Since

v1.0.0