View Source Paginator.Ecto.Query.DynamicFilterBuilder behaviour (Paginator v1.2.0)

Link to this section Summary

Link to this section Types

Specs

direction() :: :after | :before

Specs

sort_order() ::
  :asc
  | :asc_nulls_first
  | :asc_nulls_desc
  | :desc
  | :desc_nulls_first
  | :desc_nulls_last

Link to this section Callbacks

Link to this callback

build_dynamic_filter(map)

View Source

Specs

build_dynamic_filter(%{
  direction: :after | :before,
  entity_position: integer(),
  column: term(),
  value: term(),
  next_filters: Ecto.Query.dynamic() | boolean()
}) :: term()

Link to this section Functions

Specs

build!(%{
  sort_order: sort_order(),
  direction: direction(),
  entity_position: integer(),
  column: term(),
  value: term(),
  next_filters: Ecto.Query.dynamic() | boolean()
}) :: term()