type

DistinctOptions

Field, filter, page, actor, draft, trash, and locale controls for a unique-value read.

Source ridu.go:28

Fieldquery.Path
Direct singular stored field or document ID to deduplicate.
Wherequery.Expression
Filter composed atomically with collection read access.
Pageint
One-based result page.
Limitint
Maximum values returned per page.
Actor*store.Document
Actor used by access rules.
ActorCollectionschema.CollectionSlug
Exact auth collection owning Actor.
Draft*bool
Include drafts or require published values for versioned collections.
TrashOnlybool
Read values from trash only.
Localeschema.LocaleCode
Selected content locale.
FallbackLocales[]schema.LocaleCode
Optional replacement fallback chain.
DisableFallbackbool
Disable locale fallbacks.

The root package re-exports this type as ridu.DistinctOptions. The initial contract intentionally excludes nested fields, arrays, and general aggregations.