AntlUtilsEcto.Queryable behaviour (antl_utils_ecto v0.6.0) View Source

Superpower your schemas.

Link to this section Summary

Link to this section Functions

Link to this function

filter_by_field(arg, queryable)

View Source

Specs

filter_by_field({any(), any()}, any()) :: Ecto.Query.t()
Link to this function

paginate(queryable, page, opts \\ [])

View Source

Specs

paginate(any(), number(), keyword()) :: Ecto.Query.t()
Link to this function

search_by_field(arg, dynamic)

View Source

Specs

search_by_field({any(), binary()}, any()) :: Ecto.Query.DynamicExpr.t()
Link to this function

search_by_field(arg, dynamic, metadata)

View Source

Specs

search_by_field({any(), binary()}, any(), list()) :: Ecto.Query.DynamicExpr.t()

Specs

sort(any(), map()) :: Ecto.Queryable.t()

Link to this section Callbacks