View Source EventStore.Page (EventStore v1.4.1)

A page of results from a paginated query.

Link to this section Summary

Link to this section 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()
}

Link to this section Functions

Link to this function

total_pages(total_entries, page_size)

View Source