func (q emailDomainQuery) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) {
	queries.SetUpdate(q.Query, cols)

	result, err := q.Query.ExecContext(ctx, exec)
	if err != nil {
		return 0, errors.Wrap(err, "models: unable to update all for email_domain")
	}

	rowsAff, err := result.RowsAffected()
	if err != nil {
		return 0, errors.Wrap(err, "models: unable to retrieve rows affected for email_domain")
	}

	return rowsAff, nil
}
// UpdateAll updates all rows with the specified column values.
UpdateAll updates all rows with the specified column values.
// UpdateAll updates all rows with the specified column values .
func (q emailDomainQuery) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error) {
	queries.SetUpdate(q.Query, cols)
	result, err := q.Query.ExecContext(ctx, exec)
	if err != nil {
		return 0, errors.Wrap(err, "models: unable to update all for email_domain")
	}
	rowsAff, err := result.RowsAffected()
	if err != nil {
		return 0, errors.Wrap(err, "models: unable to retrieve rows affected for email_domain")
	}
	return rowsAff, nil
}
func ( q emailDomainQuery ) UpdateAll ( ctx context . Context , exec boil . ContextExecutor , cols M ) ( int64 , error ) { queries . SetUpdate ( q . Query , cols ) result , err := q . Query . ExecContext ( ctx , exec ) if err != nil { return 0 , errors . Wrap ( err , " " ) } rowsAff , err := result . RowsAffected ( ) if err != nil { return 0 , errors . Wrap ( err , " " ) } return rowsAff , nil }
UpdateAll updates all rows with the specified column values.
UpdateAll updates all rows with the specified column values .