Implements a generic `middleware/2` callback for any module that uses `Ecto.Repo` to customize behaviour.
Current section
3 Dependants
Jump to
Current section
3 Dependants
Packages depending on ecto_middleware
3 packages-
Adds callbacks/hooks to Ecto: `after_insert`, `after_update`, `after_delete`, `after_get`, `before_insert`, `before_update`, `before_delete`. Useful for setting virtual fields and centralising logic.
Updated 5 months ago
11 112recent downloads -
EctoModel is a library that overhauls your EctoSchemas with additional functionality.
Updated about 2 years ago
93recent downloads -
LiteFS-aware Ecto middleware for automatic write forwarding in distributed SQLite clusters.
Updated 5 months ago
28recent downloads