type

DistinctRequest

type DistinctRequest struct { Collection schema.Collection Field query.Path Filter *query.Node Access *query.Node Page int Limit int PublishedOnly bool Deletion DeletionMode Locales []schema.LocaleCode LocaleChain []schema.LocaleCode }

One access-filtered unique-value query over a direct field.

Source store/store.go:173

Collectionschema.Collection
Resolved target schema.
Fieldquery.Path
Direct field or document ID path.
Filter*query.Node
Caller-owned filter predicate.
Access*query.Node
Atomic authorization predicate.
Pageint
One-based result page.
Limitint
Maximum values per page.
PublishedOnlybool
Restrict versioned reads to published documents.
DeletionDeletionMode
Active, trash, or all document selection.
Locales[]schema.LocaleCode
Configured locales available to the query.
LocaleChain[]schema.LocaleCode
Selected locale followed by fallbacks.