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

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