View Source
ExTeal.Resource.Repo behaviour
(ExTeal v0.27.9)
Summary
Defines the module use
-ing Ecto.Repo
to be used by the resource.
Callbacks
Defines the module use
-ing Ecto.Repo
to be used by the resource.
Defaults to the value set in config if present:
config :ex_teal,
repo: MyApp.Repo
Default can be overridden per resource:
def repo, do: MyApp.SecondaryRepo