db
property from the useBasic()
hook, and are appended in the format of db.collection('tablename').FUNCTION()
.
useQuery
to “subscribe” to data changesuseQuery
to “subscribe” to data changes.get('ID_OF_ITEM')
: Fetches a single item in a table.getAll()
: Fetches all items from the table