type

TypedPage

type TypedPage[Document any] struct { Documents []Document Page int Limit int Total int }

A typed list result with the ordinary page metadata.

Source core/typed_local.go:41

Documents[]Document
Decoded generated-model documents for the current page.
Pageint
One-based current page number.
Limitint
Requested maximum documents per page.
Totalint
Total documents matching the query before pagination.

Document is the generated collection model supplied to NewTypedCollection. Pagination metadata follows LocalAPI.List.