ExAirtable.Airtable.Record (ExAirtable v0.2.2) View Source

Struct for an Airtable Record.

This should directly match the results returned from any Airtable REST API endpoint that returns records.

Link to this section Summary

Functions

Convert a typical Airtable JSON response into a %Record{}

Retrieve a field from within a record's fields

Link to this section Types

Specs

t() :: %ExAirtable.Airtable.Record{
  createdTime: String.t(),
  fields: %{},
  id: String.t()
}

Link to this section Functions

Convert a typical Airtable JSON response into a %Record{}

Link to this function

get(record, field, default \\ nil)

View Source

Retrieve a field from within a record's fields

Returns nil by default if no field matches.