Literature.Repo (literature v0.4.12)
Wrappers around Ecto.Repo
callbacks.
These functions should be used when working with an Ecto repo. These functions will resolve the correct repo instance, and set the schema prefix and the log level, according to the Literature configuration.
Summary
Functions
Wraps c:Ecto.Repo.get/2
.
Wraps c:Ecto.Repo.get_by/2
.
Wraps c:Ecto.Repo.paginate/2
.
Wraps c:Ecto.Repo.preload/2
.
Functions
Wraps Ecto.Repo.all/2
.
Wraps Ecto.Repo.delete/2
.
Wraps c:Ecto.Repo.get/2
.
Wraps c:Ecto.Repo.get_by/2
.
Wraps Ecto.Repo.insert/2
.
Wraps Ecto.Repo.insert_all/3
.
Wraps c:Ecto.Repo.paginate/2
.
Wraps c:Ecto.Repo.preload/2
.
Wraps Ecto.Repo.update/2
.
Wraps Ecto.Repo.update_all/3
.