method

BoundTypedGlobal.Restore

Public method BoundTypedGlobal.Restore from github.com/riducms/ridu/core.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
revisionintThe revision value.
optionsTypedMutationOptionsThe options value.

Returns

The declared result.

(Document, error)

Full signature

func (global BoundTypedGlobal[Document, Update, Draft]) Restore( ctx context.Context, revision int, options TypedMutationOptions, ) (Document, error)

Source core/typed_global.go:87

Related types

  • BoundTypedGlobal

    Typed singleton methods for reads, working drafts, publication, restoration, and discard.

  • TypedMutationOptions

    Actor, draft intent, expected revision, locale, and response controls for a generated Go mutation.