Flop v0.4.0 Flop.Filter View Source
Defines a filter.
Link to this section Summary
Link to this section Types
Specs
op() :: :== | :!= | :<= | :< | :>= | :>
Represents valid filter operators.
Specs
Represents filter query parameters.
Fields
field
: The field the filter is applied to. The allowed fields can be restricted by derivingFlop.Schema
in your Ecto schema.op
: The filter operator.value
: The comparison value of the filter.