type

DistinctOptions

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

Properties

PropertyTypeDescription
Fieldquery.PathDirect singular stored field or document ID to deduplicate.
Wherequery.ExpressionFilter composed atomically with collection read access.
PageintOne-based result page.
LimitintMaximum values returned per page.
Actor*store.DocumentActor used by access rules.
ActorCollectionschema.CollectionSlugExact auth collection owning Actor.
SystemboolSystem skips access rules for trusted server code; see ListOptions.System.
Draft*boolInclude drafts or require published values for versioned collections.
TrashOnlyboolRead values from trash only.
Localeschema.LocaleCodeSelected content locale.
FallbackLocales[]schema.LocaleCodeOptional replacement fallback chain.
DisableFallbackboolDisable locale fallbacks.

How it works

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

Full signature