sqlboiler/boil/hooks.go
2016-08-05 00:25:35 +10:00

14 lines
249 B
Go

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
HookAfterUpsert
HookBeforeCreate
HookBeforeUpdate
HookBeforeUpsert
)