type
DistinctOptions
Field, filter, page, actor, draft, trash, and locale controls for a unique-value read.
Properties
| Property | Type | Description |
|---|---|---|
Field | query.Path | Direct singular stored field or document ID to deduplicate. |
Where | query.Expression | Filter composed atomically with collection read access. |
Page | int | One-based result page. |
Limit | int | Maximum values returned per page. |
Actor | *store.Document | Actor used by access rules. |
ActorCollection | schema.CollectionSlug | Exact auth collection owning Actor. |
System | bool | System skips access rules for trusted server code; see ListOptions.System. |
Draft | *bool | Include drafts or require published values for versioned collections. |
TrashOnly | bool | Read values from trash only. |
Locale | schema.LocaleCode | Selected content locale. |
FallbackLocales | []schema.LocaleCode | Optional replacement fallback chain. |
DisableFallback | bool | Disable 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.