// doBeforeInsertHooks executes all "before insert" hooks.
doBeforeInsertHooks executes all "before insert" hooks.
// doBeforeInsertHooks executes all " before insert " hooks .
func (o *County) doBeforeInsertHooks(ctx context.Context, exec boil.ContextExecutor) (err error) {
	for _, hook := range countyBeforeInsertHooks {
		if err := hook(ctx, exec, o); err != nil {
			return err
		}
	}
	return nil
}
func ( o * County ) doBeforeInsertHooks ( ctx context . Context , exec boil . ContextExecutor ) ( err error ) { for _ , hook := range countyBeforeInsertHooks { if err := hook ( ctx , exec , o ) ; err != nil { return err } } return nil }
doBeforeInsertHooks executes all "before insert" hooks.
doBeforeInsertHooks executes all " before insert " hooks .