View Source EventStore.Page (EventStore v1.4.6)

A page of results from a paginated query.

Summary

Types

@type t() :: %EventStore.Page{
  entries: list(),
  page_number: pos_integer(),
  page_size: integer(),
  total_entries: integer(),
  total_pages: pos_integer()
}
@type t(entry) :: %EventStore.Page{
  entries: [entry],
  page_number: pos_integer(),
  page_size: integer(),
  total_entries: integer(),
  total_pages: pos_integer()
}

Functions

Link to this function

total_pages(total_entries, page_size)

View Source