Flop.Meta (Flop v0.8.2) View Source

Defines a struct for holding meta information of a query result.

Link to this section Summary

Types

t()

Meta information for a query result.

Link to this section Types

Specs

t() :: %Flop.Meta{
  current_offset: non_neg_integer() | nil,
  current_page: pos_integer() | nil,
  end_cursor: String.t() | nil,
  flop: Flop.t(),
  has_next_page?: boolean(),
  has_previous_page?: boolean(),
  next_offset: non_neg_integer() | nil,
  next_page: pos_integer() | nil,
  page_size: pos_integer() | nil,
  previous_offset: non_neg_integer() | nil,
  previous_page: pos_integer() | nil,
  start_cursor: String.t() | nil,
  total_count: non_neg_integer() | nil,
  total_pages: non_neg_integer() | nil
}

Meta information for a query result.