DataTable.Ecto.Query (data_table v0.1.0)

Summary

Functions

Link to this macro

columns(query, binding \\ [], expr)

(macro)
Link to this macro

filters(query, filters)

(macro)
Link to this macro

from(expr, kw \\ [])

(macro)

Functions exactly like Ecto.Query.from/2, but with some minor modifications:

  • The :columns key is used instead of select and select_merge
  • select and select_merge are not accepted
  • You can specify which column will be used as the id using the :id keyword
  • Filterable columns are specified using filters

Filters

Link to this macro

key(query, key_field)

(macro)