# `Literature.Repo`

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.

# `all`

Wraps `c:Ecto.Repo.all/2`.

# `delete`

Wraps `c:Ecto.Repo.delete/2`.

# `get`

Wraps `c:Ecto.Repo.get/3`.

# `get_by`

Wraps `c:Ecto.Repo.get_by/3`.

# `insert`

Wraps `c:Ecto.Repo.insert/2`.

# `insert_all`

Wraps `c:Ecto.Repo.insert_all/3`.

# `paginate`

Wraps paginate function of the set `repo` in the config.

# `preload`

Wraps `c:Ecto.Repo.preload/3`.

# `stream`

Wraps `c:Ecto.Repo.stream/2`.

# `transaction`

Wraps `c:Ecto.Repo.transaction/2`.

# `update`

Wraps `c:Ecto.Repo.update/2`.

# `update_all`

Wraps `c:Ecto.Repo.update_all/3`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
