AntlUtilsEcto.Queryable behaviour (antl_utils_ecto v0.3.0)

Link to this section Summary

Link to this section Functions

Link to this function

filter_by_field(arg, queryable)

Specs

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

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

Specs

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

search_by_field(arg, dynamic)

Specs

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

search_by_field(arg, dynamic, metadata)

Specs

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

sort(queryable, map)

Specs

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

Link to this section Callbacks

Link to this callback

filter(arg1, map)

Specs

Link to this callback

paginate(arg1, integer, keyword)

Specs

Specs

queryable() :: Ecto.Queryable.t()
Link to this callback

search(arg1, binary)

Specs

Link to this callback

sort(arg1, map)

Specs