Interface SelectOptions

Options for selecting records from an Airtable base. SelectOptions

interface SelectOptions {
    fields?: string[];
    filterByFormula?: string;
    maxRecords?: number;
    pageSize?: number;
    sort?: string;
    view?: string;
}

Properties

fields?: string[]

An array of field names to include in the response. If not specified, all fields will be returned.

SelectOptions

filterByFormula?: string

A formula used to filter records, following Airtable formula syntax.

SelectOptions

maxRecords?: number

The maximum total number of records to return.

SelectOptions

pageSize?: number

The number of records to return per page.

SelectOptions

sort?: string

Specifies the sorting order (e.g., "fieldName asc" or "fieldName desc").

SelectOptions

view?: string

The name or ID of the view to use. If not specified, the default view is used.

SelectOptions