MCPcopy
hub / github.com/pocketbase/pocketbase / OnCollectionDeleteExecute

Method OnCollectionDeleteExecute

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

OnCollectionDeleteExecute is a Collection proxy model hook of [OnModelDeleteExecute]. 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

1192 // then all event handlers registered via the created hook will be
1193 // triggered and called only if their event data origin matches the tags.
1194 OnCollectionDeleteExecute(tags ...string) *hook.TaggedHook[*CollectionEvent]
1195
1196 // OnCollectionAfterDeleteSuccess is a Collection proxy model hook of [OnModelAfterDeleteSuccess].
1197 //

Callers 4

recordRefHooksFunction · 0.65
NewTestAppWithConfigFunction · 0.65

Calls

no outgoing calls

Tested by 1