ExAirtable.Example.EnvTable (ExAirtable v0.2.6) 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

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 internal schema, mapping Airtable field names to local field names based on a %{"Schema" => "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

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

You may wish to override this function in your table module if you want your manual table listings to pass custom parameters (as a params: keyword_list in opts) to the Airtable API. See ExAirtable.Service.list/2 for details.

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

Typically called automatically by a TableSynchronizer

You may wish to override this function in your table module if you want your cached table listings to pass custom parameters (as a params: keyword_list in opts) to the Airtable API. See ExAirtable.Service.list/2 for details.

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 internal schema, mapping Airtable field names to local field names based on a %{"Schema" => "map"}.

See ExAirtable.Airtable.Record.to_schema/2 for more details.

Link to this function

update(list, opts \\ [])

View Source

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