Skip to main content

Parameters

The fetchAllRecords() method object can contain the following properties:

ParameterTypeRequiredDescription
tablestringYesName of the table to query.
whereRecord<string, any | FilterOperators>NoAn object containing conditions to filter the records.
searchSearchOptionsNoA configuration object for performing a keyword search.
fieldsstring[]NoAn array of specific fields to return in the response.
withRecord<string, RelationshipOptions>NoAn object specifying related tables to include with the returned records.
pagenumberNoThe page number for paginated results.
list or limitnumberNoThe number of records to return per page.
orderBystringNoThe field to sort the results by.
order'asc' | 'desc'NoThe sort direction, either ascending (asc) or descending (desc).
distinctbooleanNoA boolean value that returns only unique records when set to true.