API Reference ecto_hooks v1.1.0
Modules
Module exposing various utility functions for interacting with, and introspecting the state of EctoHooks.
Defines the struct which is given as the 2nd argument to any after_*
hooks.
Module containing implementation for all after_
hooks
Module containing implementation for all before_
hooks
This module is intended to replace any usage of use Ecto.Repo
. When this is done,
any of the following Ecto.Repo
callbacks will execute any defined before_*
or after_*
hooks in your Ecto schemas before returning.
This module provides the EctoMiddleware
behaviour, which extends any module that
uses Ecto.Repo
with the capability to hook into the execution of any Ecto.Repo
callback (that reads/writes to said repo).
Struct for holding middleware resolution data
Default middleware for Ecto repos.