sqlboiler/boil/hooks.go
Patrick O'brien d89d23e673 Began implementing the ORM prototype
* Hooks, query mods, and query
* Update and UpdateX
2016-04-13 23:51:58 +10:00

12 lines
186 B
Go

package boil
// HookPoint is the point in time at which we hook
type HookPoint int
const (
HookAfterCreate HookPoint = iota + 1
HookAfterUpdate
HookBeforeCreate
HookBeforeUpdate
)