MCPcopy
hub / github.com/go-gorm/gorm / BeforeSave

Method BeforeSave

callbacks/interfaces.go:22–22  ·  view source on GitHub ↗
(*gorm.DB)

Source from the content-addressed store, hash-verified

20
21type BeforeSaveInterface interface {
22 BeforeSave(*gorm.DB) error
23}
24
25type AfterSaveInterface interface {

Callers 2

BeforeUpdateFunction · 0.65
BeforeCreateFunction · 0.65

Implementers 4

Producttests/hooks_test.go
TokenOwnertests/update_test.go
Tokentests/update_test.go
UserWithCallbackschema/callbacks_test.go

Calls

no outgoing calls

Tested by

no test coverage detected