Runtime repo resolution for the optional Ecto layer.
Resolves the consumer's Ecto repo at runtime via application config:
config :phoenix_live_calendar, repo: MyApp.RepoNever resolves at compile time (follows Elixir library guidelines).
Summary
Functions
Delegates to the configured repo's all/2.
Delegates to the configured repo's delete/2.
Delegates to the configured repo's get/3.
Delegates to the configured repo's insert/2.
Delegates to the configured repo's one/2.
Returns the configured Ecto repo module.
Delegates to the configured repo's update/2.
Functions
Delegates to the configured repo's all/2.
Delegates to the configured repo's delete/2.
Delegates to the configured repo's get/3.
Delegates to the configured repo's insert/2.
Delegates to the configured repo's one/2.
@spec repo() :: module()
Returns the configured Ecto repo module.
Raises if no repo is configured.
Delegates to the configured repo's update/2.