teamon / ecto_airtable

Elixir Ecto adapter for Airtable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ecto adapter for Airtable

THIS IS EARLY STAGE ALPHA SOFTWARE, USE AT YOUR VERY OWN RISK!

Installation

def deps do
  [
    {:ecto_airtable, github: "teamon/ecto_airtable"}
  ]
end

Configuration

# config/config.exs

config :myapp, MyApp.Repo,
  adapter: Ecto.Adapters.Airtable,
  api_key: "your-api-key",
  base_id: "base-id"

Usage

See [examples/catalog] for example usage.

Credits

Huge thanks to @wojtekmach for github_ecto

Progress

  • Repo.all
  • Repo.insert
  • Repo.update
  • Repo.delete
  • Repo.get
  • Repo.get_by
  • Repo.insert_all
  • Persistent HTTP connections pool
  • Complex field types
    • Attachments
    • Relations - Link to another record
  • Embedded schemas
  • Proper support for multiple repos

About

Elixir Ecto adapter for Airtable


Languages

Language:Elixir 100.0%