sqlboiler/boil/hooks.go
2016-08-28 21:23:08 +10:00

17 lines
301 B
Go

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
HookAfterUpsert
)