ExPlain.PageInfo (ExPlain v0.3.0)

Copy Markdown View Source

Relay-style cursor pagination info included in all list responses.

Use end_cursor with after: to fetch the next page, and check has_next_page to know whether more results exist.

Summary

Types

t()

@type t() :: %ExPlain.PageInfo{
  end_cursor: String.t() | nil,
  has_next_page: boolean(),
  has_previous_page: boolean(),
  start_cursor: String.t() | nil
}