func (tdo *TenantDeleteOne) Exec(ctx context.Context) error {
	n, err := tdo.td.Exec(ctx)
	switch {
	case err != nil:
		return err
	case n == 0:
		return &ErrNotFound{tenant.Label}
	default:
		return nil
	}
}
// Exec executes the deletion query.
Exec executes the deletion query.
// Exec executes the deletion query .
func (tdo *TenantDeleteOne) Exec(ctx context.Context) error {
	n, err := tdo.td.Exec(ctx)
	switch {
	case err != nil:
		return err
	case n == 0:
		return &ErrNotFound{tenant.Label}
	default:
		return nil
	}
}
func ( tdo * TenantDeleteOne ) Exec ( ctx context . Context ) error { n , err := tdo . td . Exec ( ctx ) switch { case err != nil : return err case n == 0 : return & ErrNotFound { tenant . Label } default : return nil } }
Exec executes the deletion query.
Exec executes the deletion query .