ash_postgres v0.10.0 AshPostgres.Repo behaviour View Source
Resources that use the AshPostgres
data layer use a Repo
to access the database.
This repo is a slightly modified version of an Ecto.Repo
.
You can use Ecto.Repo
's init/2
to configure your repo like normal, but
instead of returning {:ok, config}
, use super(config)
to pass the
configuration to the AshPostgres.Repo
implementation.
Link to this section Summary
Callbacks
Use this to inform the data layer about what extensions are installed
Link to this section Callbacks
Specs
installed_extensions() :: [String.t()]
Use this to inform the data layer about what extensions are installed