View Source EctoShorts.QueryBuilder behaviour (ecto_shorts v2.3.0)
Behaviour for query building from filter tuples
Link to this section Summary
Callbacks
Adds to accumulator query with filter_type and value
Functions
Pulls the schema from a query
Link to this section Types
Specs
accumulator_query() :: Ecto.Query.t()
Specs
Link to this section Callbacks
Specs
create_schema_filter(filter_tuple(), accumulator_query()) :: Ecto.Query.t()
Adds to accumulator query with filter_type and value
Link to this section Functions
Specs
create_schema_filter(module(), filter_tuple(), accumulator_query()) :: Ecto.Query.t()
Specs
query_schema(Ecto.Queryable.t()) :: Ecto.Queryable.t()
Pulls the schema from a query