Scrivener.Page

A Scrivener.Page has 5 fields that can be accessed: entries, page_number, page_size, total_entries and total_pages.

page = MyApp.Person |> where([p], p.age > 30) |> MyApp.Repo.paginate(params)

page.entries
page.page_number
page.page_size
page.total_entries
page.total_pages

Types

t :: %Scrivener.Page{entries: term, page_number: term, page_size: term, total_entries: term, total_pages: term}