View Source Dx.Ecto.Query (dx v0.3.0)
Functions to dynamically generate Ecto query parts.
Link to this section Summary
Functions
Returns a 2-tuple with
Applies all known options to the given queryable
and returns it, along with all options that were unknown.
Apply all options to the given queryable
, raise on any unknown option.
Returns generated SQL for given query with all params replaced
Add predicate-based filters to a queryable and return it.
Link to this section Functions
Returns a 2-tuple with
- the modified queryable with the given conditions applied as WHERE clauses
- any remaining conditions that couldn't be added to the query
Returns {query, true}
if all conditions could be added to the query.
Applies all known options to the given queryable
and returns it, along with all options that were unknown.
Apply all options to the given queryable
, raise on any unknown option.
Returns generated SQL for given query with all params replaced
Add predicate-based filters to a queryable and return it.