sqlboiler/boil/hooks.go
2016-08-28 20:54:46 +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 (
HookAfterInsert HookPoint = iota + 1
HookAfterUpdate
HookAfterUpsert
HookBeforeInsert
HookBeforeUpdate
HookBeforeUpsert
)