Options
All
  • Public
  • Public/Protected
  • All
Menu

asyncairtable - v2.1.0

Index

Type aliases

Typecast

Typecast: boolean

Used for allowing the option to add additional select items when creating or updating a record. Without, it will throw an INVALID_MULTIPLE_CHOICE error if you try to pass an item that doesn't already exist.

Variables

Const baseURL

baseURL: "https://api.airtable.com/v0" = "https://api.airtable.com/v0"

Const operators

operators: string[] = ['=', '!=', '>', '>=', '<', '<=']

Const validOptions

validOptions: string[] = ['fields','filterByFormula','maxRecords','pageSize','sort','view','where',]

Functions

Const baseHandler

  • baseHandler(val: string | number | boolean | null): string
  • Parameters

    • val: string | number | boolean | null

    Returns string

Const booleanHandler

  • booleanHandler(bool: boolean): string
  • Parameters

    • bool: boolean

    Returns string

Const buildExpression

  • buildExpression(obj: ComparisonObject, op: string): string
  • Parameters

    • obj: ComparisonObject
    • op: string

    Returns string

Const isQueryObject

  • isQueryObject(item: QueryField): boolean
  • Parameters

    • item: QueryField

    Returns boolean

Const queryBuilder

  • Parameters

    Returns string

Object literals

Const logicalOperators

logicalOperators: object

$and

  • Parameters

    Returns string

$not

  • Parameters

    Returns string

$or

  • Parameters

    Returns string

Const numericalOperators

numericalOperators: object

$eq

  • $eq(val: Record<string, BaseFieldType>): string
  • Parameters

    • val: Record<string, BaseFieldType>

    Returns string

$gt

  • $gt(val: Record<string, BaseFieldType>): string
  • Parameters

    • val: Record<string, BaseFieldType>

    Returns string

$gte

  • $gte(val: Record<string, BaseFieldType>): string
  • Parameters

    • val: Record<string, BaseFieldType>

    Returns string

$lt

  • $lt(val: Record<string, BaseFieldType>): string
  • Parameters

    • val: Record<string, BaseFieldType>

    Returns string

$lte

  • $lte(val: Record<string, BaseFieldType>): string
  • Parameters

    • val: Record<string, BaseFieldType>

    Returns string

$neq

  • $neq(val: Record<string, BaseFieldType>): string
  • Parameters

    • val: Record<string, BaseFieldType>

    Returns string

Generated using TypeDoc