AntlUtilsEcto.Query (antl_utils_ecto v0.5.0) View Source

Set of utils for Ecto.Query

Link to this section Summary

Link to this section Functions

Link to this function

or_where(queryable, key, value)

View Source

Specs

or_where(any(), atom(), nil | binary() | [any()]) :: Ecto.Query.t()
Link to this function

or_where_like(queryable, key, value)

View Source

Specs

or_where_like(any(), atom(), binary()) :: Ecto.Query.t()
Link to this function

order_by(queryable, key, order)

View Source

Specs

order_by(any(), atom(), :asc | :desc) :: Ecto.Query.t()
Link to this function

where(queryable, key, value)

View Source

Specs

where(any(), atom(), nil | binary() | [any()] | integer()) :: Ecto.Query.t()
Link to this function

where_in_period(queryable, start_at_key, end_at_key, datetime)

View Source

Specs

where_in_period(any(), atom(), atom(), DateTime.t()) :: Ecto.Query.t()
Link to this function

where_like(queryable, key, value)

View Source

Specs

where_like(any(), atom(), binary()) :: Ecto.Query.t()