Variante per PHP-Script erzeugen? configurator_option_relations?

Hier ist meine SQL Lösung für die Community. Habe bisher keine SW5 Funktion dafür gefunden:

         $art_id= $detail->getId();
         $art_id2= $detail_variant1->getId();
         $con_id= $configuratorOption->getId();
         $con_id2= $configuratorOption2->getId();

	// not nice, but seems there is no function for so let's dive in SQL... 	
         $sql = "INSERT INTO s_article_configurator_option_relations (id, article_id, option_id)
                VALUES(DEFAULT, ?, ?),
                	(DEFAULT, ?,?)";
                	
         echo("SQL configurator_option_relations: " . $art_id . ", " . $con_id . " ". $art_id2 . " ".$con_id2. "<br>");

         Shopware()->Db()->query($sql, array($art_id, $con_id, $art_id2, $con_id2));