MCPcopy
hub / github.com/pocketbase/pocketbase / OnCollectionAfterCreateSuccess

Method OnCollectionAfterCreateSuccess

core/base.go:951–953  ·  view source on GitHub ↗
(tags ...string)

Source from the content-addressed store, hash-verified

949}
950
951func (app *BaseApp) OnCollectionAfterCreateSuccess(tags ...string) *hook.TaggedHook[*CollectionEvent] {
952 return hook.NewTaggedHook(app.onCollectionAfterCreateSuccess, tags...)
953}
954
955func (app *BaseApp) OnCollectionAfterCreateError(tags ...string) *hook.TaggedHook[*CollectionErrorEvent] {
956 return hook.NewTaggedHook(app.onCollectionAfterCreateError, tags...)

Callers 1

Calls 1

NewTaggedHookFunction · 0.92

Tested by

no test coverage detected