sqlboiler/boil/hooks.go

18 lines
301 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 (
2016-09-01 03:12:46 +02:00
BeforeInsertHook HookPoint = iota + 1
BeforeUpdateHook
BeforeDeleteHook
BeforeUpsertHook
AfterInsertHook
AfterSelectHook
AfterUpdateHook
AfterDeleteHook
AfterUpsertHook
)