View Source Resourceful.Collection.Ecto.Filters (Resourceful v0.1.3)

Functions for converting Resourceful-style filters into Ecto-style SQL filters.

See Resourceful.Collection.Filter for more details on filters.

There's a lot of duplication here that can, hopefully, be resolved with a better understanding of macros.

Link to this section Summary

Link to this section Functions

Link to this function

equal(queryable, col, val)

View Source
Link to this function

exclude(queryable, col, val)

View Source
Link to this function

greater_than(queryable, col, val)

View Source
Link to this function

greater_than_or_equal(queryable, col, val)

View Source
Link to this function

include(queryable, col, val)

View Source
Link to this function

less_than(queryable, col, val)

View Source
Link to this function

less_than_or_equal(queryable, col, val)

View Source
Link to this function

not_equal(queryable, col, val)

View Source
Link to this function

starts_with(queryable, col, val)

View Source