MCPcopy
hub / github.com/pocketbase/pocketbase / OnRecordUpdateExecute

Method OnRecordUpdateExecute

core/app.go:1063–1063  ·  view source on GitHub ↗

OnRecordUpdateExecute is a Record proxy model hook of [OnModelUpdateExecute]. If the optional "tags" list (Collection ids or names) is specified, then all event handlers registered via the created hook will be triggered and called only if their event data origin matches the tags.

(tags ...string)

Source from the content-addressed store, hash-verified

1061 // then all event handlers registered via the created hook will be
1062 // triggered and called only if their event data origin matches the tags.
1063 OnRecordUpdateExecute(tags ...string) *hook.TaggedHook[*RecordEvent]
1064
1065 // OnRecordAfterUpdateSuccess is a Record proxy model hook of [OnModelAfterUpdateSuccess].
1066 //

Callers 5

TestRecordModelEventSyncFunction · 0.65
registerRecordHooksMethod · 0.65
TestAutodateRecordResaveFunction · 0.65
NewTestAppWithConfigFunction · 0.65

Calls

no outgoing calls

Tested by 3

TestRecordModelEventSyncFunction · 0.52
TestAutodateRecordResaveFunction · 0.52