AntlUtilsEcto.Query (antl_utils_ecto v1.1.2) View Source
Set of utils for Ecto.Query
Link to this section Summary
Link to this section Types
Specs
status() :: :ended | :ongoing | :scheduled
Link to this section Functions
Specs
or_where(any(), atom(), nil | binary() | [any()]) :: Ecto.Query.t()
Specs
or_where_like(any(), atom(), binary()) :: Ecto.Query.t()
Specs
order_by(any(), atom(), :asc | :desc) :: Ecto.Query.t()
Specs
Specs
where_in_period(any(), atom(), atom(), DateTime.t()) :: Ecto.Query.t()
Specs
where_like(any(), atom(), binary()) :: Ecto.Query.t()
Link to this function
where_period_status(queryable, status, start_at_key, end_at_key, datetime)
View SourceSpecs
where_period_status( Ecto.Queryable.t(), status() | [status()], atom(), atom(), DateTime.t() ) :: Ecto.Query.t()