TinyBase logoTinyBase β

useQueries

The useQueries hook returns the default Queries object from the current Provider context (or a named one if an Id is provided).

useQueries(id?: string): Queries | undefined
TypeDescription
id?string

An optional Id of a named Queries object in the Provider context.

returnsQueries | undefined

The Queries object, or undefined if not found.

Since

v8.1.0