TinyBase logoTinyBase β

Callback type aliases

This is the collection of callback type aliases within the queries module. There are 5 callback type aliases in total.

GetTableCell

The GetTableCell type describes a function that takes a Id and returns the Cell value for a particular Row, optionally in a joined Table.

When called with one parameter, this function will return the value of the specified Cell from the query's root Table for the Row being selected or filtered.

When called with two parameters, this function will return the value of the specified Cell from a Table that has been joined in the query, for the Row being selected or filtered.

Read more

ResultTableCallback

The ResultTableCallback type describes a function that takes a ResultTable's Id and a callback to loop over each ResultRow within it.

Read more

ResultRowCallback

The ResultRowCallback type describes a function that takes a ResultRow's Id and a callback to loop over each ResultCell within it.

Read more

ResultCellCallback

The ResultCellCallback type describes a function that takes a ResultCell's Id and its value.

Read more

QueryCallback

The QueryCallback type describes a function that takes a query's Id.

Read more