type
Record
One source document and its available retained versions.
Properties
| Property | Type | Description |
|---|---|---|
ID | ID | The ID value. |
Data | json.RawMessage | The Data value. |
Status | store.Status | The Status value. |
CreatedAt | time.Time | The CreatedAt value. |
UpdatedAt | time.Time | The UpdatedAt value. |
Versions | []Version | The Versions value. |
SelectedRevision | int | The SelectedRevision value. |
How it works
SelectedRevision zero imports current Data. A non-zero value must name a supplied version and the Ridu target must support versions.
Full signature
type Record struct {
ID ID
Data json.RawMessage
Status store.Status
CreatedAt time.Time
UpdatedAt time.Time
Versions []Version
SelectedRevision int
}