Skip to main content
Reads rows from one table. By default it returns the 25 oldest rows.

Parameters

string
required
Project id from list_projects.
string
required
Table name.
object[]
Conditions that every returned row must match. See Filters.
object
Sort order. Without it, rows are sorted by created_at, oldest first.
integer
default:"25"
Rows to return, from 1 to 100. Values above 100 return 100 rows.
integer
default:"0"
Rows to skip, for paging. Must be 0 or more.

Result

An array of row objects keyed by column name, including id and created_at. See value formats.

Example

Arguments
Result

Sorting and paging

  • With orderBy, NULL values sort last in both directions, and ties are broken by id.
  • Without orderBy, rows sort by created_at, then id.
  • To page, keep the same filters and order and increase offset by limit. A page shorter than limit is the last page.
Second page of 100

Errors