ExAirtable.Example.EnvTable (ExAirtable v0.2.9) View Source

This is useful for playing around in the console.

It'll load up a table based on whatever you have in your config. Try make console to quickly load the defaults.

Link to this section Summary

Functions

Create a record in your Airtable. See Service.create/2 for details.

Delete a single record (by ID) from an Airtable

Convert an attribute map back to an %ExAirtable.Airtable.Record().

Get all records from your Airtable. See Service.list/3 for details.

Similar to list/1, except results aren't automatically concatenated with multiple API requests.

Get a single record from your Airtable, matching by ID.

Utility function to return the table struct

Convert a record to an attribute map.

Update a record in your Airtable. See Service.update for details.

Link to this section Functions

Create a record in your Airtable. See Service.create/2 for details.

Delete a single record (by ID) from an Airtable

Convert an attribute map back to an %ExAirtable.Airtable.Record().

Airtable field names are converted to local field names based on the %{"Schema" => "map"} defined (or overridden) in schema/1.

See ExAirtable.Airtable.Record.from_schema/2 for more details about the conversion.

Get all records from your Airtable. See Service.list/3 for details.

Similar to list/1, except results aren't automatically concatenated with multiple API requests.

Typically called automatically by a TableSynchronizer process.

Get a single record from your Airtable, matching by ID.

See Service.retrieve/2 for details.

Utility function to return the table struct

Convert a record to an attribute map.

Airtable field names are converted to local field names based on the %{"Schema" => "map"} defined (or overridden) in schema/1.

See ExAirtable.Airtable.Record.to_schema/2 for more details about the conversion.

Link to this function

update(list, opts \\ [])

View Source

Update a record in your Airtable. See Service.update for details.