ecto_shorts v0.1.4 API Reference

Modules

Ecto Shorts is a library created to help shorten ecto interactions and remove most of the related code.

Actions for crud in ecto, this can be used by all schemas/queries

This module generates errors from actions it can be overriden by config by setting error module

This module is responsible for determining put/cast assoc as well as creating and updating model relations

This modules main purpose is to house a collection of common schema filters and functionality to be included in params -> filters

Behaviour for query building from filter tuples

This module contains query building parts for common things such as preload, start/end date and others

This module contains query building parts for schemas themselves, when passed a query it can pull the schema from it and attempt to filter on any natural field

This module is responsible for calling repo from config

Module that has helpers that are globably useful on ecto schemas