Skip to main content

core.table.lookup

Get a single row from a table corresponding to the given column and value.

Inputs

string
required
The column to lookup the value in.
string
required
The table to lookup the value in.
any
required
The value to lookup.

Examples

Look up rows

core.table.is_in

Check if a value exists in a table column.

Inputs

string
required
The column to check in.
string
required
The table to check.
any
required
The value to check for.

Examples

Look up rows

core.table.lookup_many

Get multiple rows from a table corresponding to the given column and values.

Inputs

string
required
The column to lookup the value in.
string
required
The table to lookup the value in.
any
required
The value to lookup.
integer
The maximum number of rows to return.Default: 100.

Examples

Look up rows

core.table.search_rows

Search for rows in a table with optional filtering.

Inputs

string
required
The table to search in.
string | null
Cursor for pagination.Default: null.
string | null
Filter rows created before this time.Default: null.
integer
The maximum number of rows to return.Default: 100.
boolean
If true, return cursor pagination metadata along with items.Default: false.
boolean
Reverse pagination direction.Default: false.
string | null
Text to search for across all text and JSONB columns.Default: null.
string | null
Filter rows created after this time.Default: null.
string | null
Filter rows updated after this time.Default: null.
string | null
Filter rows updated before this time.Default: null.

Examples

Search table rows