/** * {@inheritdoc} */ public function insertRows(PersistentCollection $coll) { $diff = $coll->getInsertDiff(); $sql = $this->getInsertRowSQL($coll); foreach ($diff as $element) { $this->conn->executeUpdate($sql, $this->getInsertRowSQLParameters($coll, $element)); } }
public function insertRows(PersistentCollection $coll) { $insertDiff = $coll->getInsertDiff(); $sql = $this->_getInsertRowSql($coll); foreach ($insertDiff as $element) { $this->_conn->exec($sql, $this->_getInsertRowSqlParameters($coll, $element)); } }