method
UpdateRequest.LockedCurrent
LockedCurrent returns the required Current document after checking that it identifies the requested document. The returned Values are shared: callers that edit them must clone first.
Returns
The declared result.
(Document, error)Full signature
func (request UpdateRequest) LockedCurrent() (
Document,
error,
)Related types
UpdateRequestAn authorized update with values and one explicit publication-head intent.
DocumentA stored document with status and version metadata.