Fetch data: select()
Perform a SELECT query on a table or view.
Parameters
columnsstringThe columns to retrieve, separated by commas. Rename a column with alias:column.
options.count'exact' | 'planned'Count algorithm to use to count rows in the table or view.
options.headbooleanWhen true, data is null and only the count is returned.
By default, Basalt returns at most 1,000 rows. Change the limit in your project's API settings, or page through results with range().
Is this helpful?