type

UpdateRequest

UpdateRequest changes one document from a data transform. Values patch the stored document unless ReplaceValues makes them its complete authored state. The transaction applies the patch to the stored row it locks, never to a document the callback read or edited.

Properties

PropertyTypeDescription
store.Requeststore.RequestThe store.Request value.
Valuesstore.ValuesThe Values value.
ReplaceValuesboolThe ReplaceValues value.

Full signature

type UpdateRequest struct { store.Request Values store.Values ReplaceValues bool }

Source migration/migration.go:149