Selecto.Subfilter.FilterSpec (Selecto v0.3.16)

Filter specification for subfilter conditions.

Link to this section Summary

Link to this section Types

Link to this type

agg_function()

@type agg_function() :: :count | :sum | :avg | :min | :max
Link to this type

filter_type()

@type filter_type() ::
  :equality | :comparison | :in_list | :range | :aggregation | :temporal
@type t() :: %Selecto.Subfilter.FilterSpec{
  agg_function: agg_function() | nil,
  max_value: any() | nil,
  min_value: any() | nil,
  operator: String.t() | nil,
  temporal_type: temporal_type() | nil,
  type: filter_type(),
  value: any(),
  values: [any()] | nil
}
Link to this type

temporal_type()

@type temporal_type() :: :recent_years | :within_days | :within_hours | :since_date