type

DistinctRequest

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

Properties

PropertyTypeDescription
Collectionschema.CollectionResolved target schema.
Fieldquery.PathDirect field or document ID path.
Filter*query.NodeCaller-owned filter predicate.
Access*query.NodeAtomic authorization predicate.
PageintOne-based result page.
LimitintMaximum values per page.
PublishedOnlyboolRestrict versioned reads to published documents.
DeletionDeletionModeActive, trash, or all document selection.
Locales[]schema.LocaleCodeConfigured locales available to the query.
LocaleChain[]schema.LocaleCodeSelected locale followed by fallbacks.

Full signature

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 }

Source store/store.go:302