Skip to content

useTable

useTable<T>(table, buildQuery?, options?): UseQueryResult<T[], Error>

Hook for table queries with a simpler API

Type ParameterDefault type
Tany
ParameterTypeDescription
tablestringTable name
buildQuery?(query) => QueryBuilder<T>Function to build the query
options?UseFluxbaseQueryOptions<T>-

UseQueryResult<T[], Error>