MCPcopy
hub / github.com/pocketbase/pocketbase / OnCollectionValidate

Method OnCollectionValidate

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

--------------------------------------------------------------- Collection models event hooks --------------------------------------------------------------- OnCollectionValidate is a Collection proxy model hook of [OnModelValidate]. If the optional "tags" list (Collection ids or names) is specifie

(tags ...string)

Source from the content-addressed store, hash-verified

1116 // then all event handlers registered via the created hook will be
1117 // triggered and called only if their event data origin matches the tags.
1118 OnCollectionValidate(tags ...string) *hook.TaggedHook[*CollectionEvent]
1119
1120 // ---------------------------------------------------------------
1121

Callers 3

NewTestAppWithConfigFunction · 0.65

Calls

no outgoing calls

Tested by 1