JavaScript Fetch data

Fetch data

Perform a SELECT query on the table or view.

GET/rest/v1/{table}

Parameters

columnsstringOptional

The columns to retrieve, separated by commas.

options.headbooleanOptional

When true, data is not returned. Useful for counts.

options.count"exact" | "planned"Optional

Count algorithm to use to count rows in the table.

Queries return at most 1,000 rows by default. Use .range() to paginate.