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