ExQueb v0.2.2 ExQueb

Build Ecto filter Queries.

Summary

Functions

Build order for a given query

Create the filter

Get the sort order for a params entry

Functions

build_order_bys(query, opts, action, params)

Build order for a given query.

filter(query, params)

Create the filter

Uses the :q query parameter to build the filter.

get_sort_order(order)

Get the sort order for a params entry.