func (o *UserPersonalInfo) doBeforeUpdateHooks(ctx context.Context, exec boil.ContextExecutor) (err error) {
	for _, hook := range userPersonalInfoBeforeUpdateHooks {
		if err := hook(ctx, exec, o); err != nil {
			return err
		}
	}

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