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.

Source core/typed_local.go:120

@param ctx
The ctx value.
@param id
The id value.
@param input
The input value.
@param expectedRevision
The expectedRevision value.
@param actor
The actor value.
@returns
The declared result.

Related types

  • BoundTypedCollection

    Typed Create, Import, Find, List, Update, UpdateRevision, and Delete methods.

  • Document

    A stored document with status and version metadata.