Etso v1.1.0 Etso.Adapter View Source

Used as an Adapter in Repo modules, which transparently spins up one ETS table for each Schema used with the Repo, namespaced to the Repo to allow concurrent running of multiple Repositories.

The Etso Adapter implements the Ecto.Adapter.Schema and Ecto.Adapter.Queryable behaviours.

To use the Etso Adapter in your application, define a Repo like this:

defmodule MyApp.Repo do
  @otp_app Mix.Project.config()[:app]
  use Ecto.Repo, otp_app: @otp_app, adapter: Etso.Adapter
end