lib/Doctrine/ORM/Query/Exec/MultiTableDeleteExecutor.php 1 location
|
@@ 105-110 (lines=6) @@
|
| 102 |
|
|
| 103 |
|
// 4. Store DDL for temporary identifier table. |
| 104 |
|
$columnDefinitions = []; |
| 105 |
|
foreach ($idColumnNames as $idColumnName) { |
| 106 |
|
$columnDefinitions[$idColumnName] = [ |
| 107 |
|
'notnull' => true, |
| 108 |
|
'type' => Type::getType(PersisterHelper::getTypeOfColumn($idColumnName, $rootClass, $em)), |
| 109 |
|
]; |
| 110 |
|
} |
| 111 |
|
$this->_createTempTableSql = $platform->getCreateTemporaryTableSnippetSQL() . ' ' . $tempTable . ' (' |
| 112 |
|
. $platform->getColumnDeclarationListSQL($columnDefinitions) . ')'; |
| 113 |
|
$this->_dropTempTableSql = $platform->getDropTemporaryTableSQL($tempTable); |
lib/Doctrine/ORM/Query/Exec/MultiTableUpdateExecutor.php 1 location
|
@@ 148-153 (lines=6) @@
|
| 145 |
|
// 4. Store DDL for temporary identifier table. |
| 146 |
|
$columnDefinitions = []; |
| 147 |
|
|
| 148 |
|
foreach ($idColumnNames as $idColumnName) { |
| 149 |
|
$columnDefinitions[$idColumnName] = [ |
| 150 |
|
'notnull' => true, |
| 151 |
|
'type' => Type::getType(PersisterHelper::getTypeOfColumn($idColumnName, $rootClass, $em)), |
| 152 |
|
]; |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
$this->_createTempTableSql = $platform->getCreateTemporaryTableSnippetSQL() . ' ' . $tempTable . ' (' |
| 156 |
|
. $platform->getColumnDeclarationListSQL($columnDefinitions) . ')'; |
lib/Doctrine/ORM/Persisters/Collection/OneToManyPersister.php 1 location
|
@@ 251-256 (lines=6) @@
|
| 248 |
|
$idColumnList = implode(', ', $idColumnNames); |
| 249 |
|
$columnDefinitions = []; |
| 250 |
|
|
| 251 |
|
foreach ($idColumnNames as $idColumnName) { |
| 252 |
|
$columnDefinitions[$idColumnName] = [ |
| 253 |
|
'notnull' => true, |
| 254 |
|
'type' => Type::getType(PersisterHelper::getTypeOfColumn($idColumnName, $rootClass, $this->em)), |
| 255 |
|
]; |
| 256 |
|
} |
| 257 |
|
|
| 258 |
|
$statement = $this->platform->getCreateTemporaryTableSnippetSQL() . ' ' . $tempTable |
| 259 |
|
. ' (' . $this->platform->getColumnDeclarationListSQL($columnDefinitions) . ')'; |