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
Link to this function
search_by_field(arg, dynamic, metadata)
Specs
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
filter(Ecto.Queryable.t(), map()) :: Ecto.Queryable.t()
Link to this callback
paginate(arg1, integer, keyword)
Specs
paginate(Ecto.Queryable.t(), integer(), keyword()) :: Ecto.Queryable.t()
Link to this callback
queryable()
Specs
queryable() :: Ecto.Queryable.t()
Link to this callback
search(arg1, binary)
Specs
search(Ecto.Queryable.t(), binary()) :: Ecto.Queryable.t()
Link to this callback
sort(arg1, map)
Specs
sort(Ecto.Queryable.t(), map()) :: Ecto.Queryable.t()