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