interface
VersionTransaction
type VersionTransaction interface {
SaveVersion(context.Context, schema.Collection, Document, int) (Version, error)
ListVersions(context.Context, VersionRequest) ([]Version, error)
FindVersion(context.Context, schema.Collection, string, int) (Version, error)
}Same-transaction snapshot persistence and access-filtered history reads.
SaveVersionfunc(context.Context, schema.Collection, Document, int) (Version, error)- The SaveVersion value.
ListVersionsfunc(context.Context, VersionRequest) ([]Version, error)- The ListVersions value.
FindVersionfunc(context.Context, schema.Collection, string, int) (Version, error)- The FindVersion value.