sqlboiler/boil/hooks.go

15 lines
249 B
Go
Raw Normal View History

package boil
// HookPoint is the point in time at which we hook
type HookPoint int
// the hook point constants
const (
HookAfterCreate HookPoint = iota + 1
HookAfterUpdate
2016-08-04 05:11:45 +02:00
HookAfterUpsert
HookBeforeCreate
HookBeforeUpdate
2016-08-04 05:11:45 +02:00
HookBeforeUpsert
)