MCPcopy
hub / github.com/pocketbase/pocketbase / OnModelCreateExecute

Method OnModelCreateExecute

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

Source from the content-addressed store, hash-verified

833}
834
835func (app *BaseApp) OnModelCreateExecute(tags ...string) *hook.TaggedHook[*ModelEvent] {
836 return hook.NewTaggedHook(app.onModelCreateExecute, tags...)
837}
838
839func (app *BaseApp) OnModelAfterCreateSuccess(tags ...string) *hook.TaggedHook[*ModelEvent] {
840 return hook.NewTaggedHook(app.onModelAfterCreateSuccess, tags...)

Callers 2

registerRecordHooksMethod · 0.95

Calls 1

NewTaggedHookFunction · 0.92

Tested by

no test coverage detected