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 (
HookAfterInsert HookPoint = iota + 1
HookAfterUpdate
2016-08-04 05:11:45 +02:00
HookAfterUpsert
HookBeforeInsert
HookBeforeUpdate
2016-08-04 05:11:45 +02:00
HookBeforeUpsert
)