TinyBase logoTinyBase

Callback type aliases

This is the collection of callback type aliases within the queries module. There are only two callback type aliases, GetTableCell and QueryCallback.

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 main 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.

QueryCallback

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