EctoInterface.Paginator.Config (ecto_interface v4.2.0)

The configuration record of a pagination request.

Summary

Types

t()

@type t() :: %EctoInterface.Paginator.Config{
  after: term(),
  after_values: term(),
  before: term(),
  before_values: term(),
  cursor_fields: term(),
  fetch_cursor_value_fun: term(),
  include_total_count: term(),
  limit: term(),
  maximum_limit: term(),
  sort_direction: term(),
  total_count_limit: term(),
  total_count_primary_key_field: term()
}

Functions

new(opts \\ [])

validate!(config)