Flop.Filter (Flop v0.8.1) View Source
Defines a filter.
Link to this section Summary
Link to this section Types
Specs
op() :: :== | :!= | :=~ | :<= | :< | :>= | :> | :in
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.