method
BoundTypedCollection.UpdateRevision
func (collection BoundTypedCollection[Document, Create, Update]) UpdateRevision(
ctx context.Context,
id string,
input Update,
expectedRevision int,
actor *store.Document,
) (Document, error)Public method BoundTypedCollection.UpdateRevision from github.com/riducms/ridu/core.
Related types
BoundTypedCollectionTyped Create, Import, Find, List, Update, UpdateRevision, and Delete methods.
DocumentA stored document with status and version metadata.