type
ListWindowOptions
type ListWindowOptions struct {
Index query.Path
LowerBound string
UpperBound string
Limit int
Select []query.Path
Actor *store.Document
ActorCollection schema.CollectionSlug
Locale schema.LocaleCode
FallbackLocales []schema.LocaleCode
DisableFallback bool
AllLocales bool
}A count-free bounded unique-index range for background work.
Indexquery.Path- Direct unique, indexed, non-localized text field used for ordering.
LowerBoundstring- Inclusive non-empty lower index bound.
UpperBoundstring- Exclusive non-empty upper index bound.
Limitint- Maximum documents returned.
Select[]query.Path- Restrict returned stored fields.
Actor*store.Document- Actor used by access rules.
ActorCollectionschema.CollectionSlug- Exact auth collection owning Actor.
Localeschema.LocaleCode- Selected content locale.
FallbackLocales[]schema.LocaleCode- Optional replacement fallback chain.
DisableFallbackbool- Disable locale fallbacks.
AllLocalesbool- Return all localized values.
The root package re-exports this type as ridu.ListWindowOptions. The store transaction must implement the optional store.WindowTransaction capability.