type
VersionRequest
An access-filtered version-history query.
Properties
| Property | Type | Description |
|---|---|---|
Collection | schema.Collection | The Collection value. |
DocumentID | string | The DocumentID value. |
Access | *query.Node | The Access value. |
Locales | []schema.LocaleCode | The Locales value. |
LocaleChain | []schema.LocaleCode | The LocaleChain value. |
AllLocales | bool | The AllLocales value. |
How it works
Adapters must apply Access to each stored snapshot before returning it.
Full signature
type VersionRequest struct {
Collection schema.Collection
DocumentID string
Access *query.Node
Locales []schema.LocaleCode
LocaleChain []schema.LocaleCode
AllLocales bool
}