type

Page

A paginated result and total count.

Properties

PropertyTypeDescription
Documents[]DocumentDocuments on this page.
PageintCurrent one-based page.
LimitintRequested page size.
Total*intTotal matching document count.
HasNextPageboolThe HasNextPage value.

Full signature

type Page struct { Documents []Document Page int Limit int // Total is the exact number of matching documents. It is nil when // Request.SkipTotal skipped the count; it is never estimated. Total *int HasNextPage bool }

Source store/store.go:264