Filterable v0.7.4 API Reference

Modules

`Filterable` allows to map incoming parameters to filter functions

Contains functions which perform filter values type casting. Each function should return casted value or `:error` atom

Provides DSL for building filters

Contains macros which allow to define widely used filters

Allows to fetch `Map` of filterable params. Performs casting/triming/normalization of filter params

Allows to extend Phoenix controller with `filterable` macros and functions

Allows to extend Ecto model with `filterable` macros and functions

Exceptions

Raises when filter can’t be applied