code: func deleteOrderFQDNSet(
  	db dbExecer,
  	orderID int64) error {
  
  	result, err := db.Exec(`
  	  DELETE FROM orderFqdnSets
  		WHERE orderID = ?`,
  		orderID)
  	if err != nil {
  		return err
  	}
  	rowsDeleted, err := result.RowsAffected()
  	if err != nil {
  		return err
  	}
  	// We always expect there to be an order FQDN set row for each
  	// pending/processing order that is being finalized. If there isn't one then
  	// something is amiss and should be raised as an internal server error
  	if rowsDeleted == 0 {
  		return berrors.InternalServerError("No orderFQDNSet exists to delete")
  	}
  	return nil
  }
docs: // deleteOrderFQDNSet deletes a OrderFQDNSet row that matches the provided
  // orderID. This function accepts a transaction so that the deletion can
  // take place within the finalization transaction. The caller is required to
  // rollback the transaction if an error is returned.