SimpleFilters (simple_filters v1.1.0)
Macros for applying filters to ecto queries.
Summary
Functions
Cuts the operator part from a string, so that it can be put in a query.
Filters for a boolean a value.
Filters for a string using ilike.
Gets the column from opts or name
Parses a value to an integer, converting it when necessary.
Functions
Link to this function
cut_operator(string)
Cuts the operator part from a string, so that it can be put in a query.
Filters for a boolean a value.
Filters for a string using ilike.
Link to this function
get_column(name, opts)
Gets the column from opts or name
Link to this function
parse_integer(value)
Parses a value to an integer, converting it when necessary.