lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php 1 location
|
@@ 1066-1068 (lines=3) @@
|
| 1063 |
|
$joinSql = ''; |
| 1064 |
|
$orderBySql = ''; |
| 1065 |
|
|
| 1066 |
|
if ($assoc != null && $assoc['type'] == ClassMetadata::MANY_TO_MANY) { |
| 1067 |
|
$joinSql = $this->getSelectManyToManyJoinSQL($assoc); |
| 1068 |
|
} |
| 1069 |
|
|
| 1070 |
|
if (isset($assoc['orderBy'])) { |
| 1071 |
|
$orderBy = $assoc['orderBy']; |
lib/Doctrine/ORM/Persisters/Entity/JoinedSubclassPersister.php 1 location
|
@@ 312-314 (lines=3) @@
|
| 309 |
|
$baseTableAlias = $this->getSQLTableAlias($this->class->name); |
| 310 |
|
$joinSql = $this->getJoinSql($baseTableAlias); |
| 311 |
|
|
| 312 |
|
if ($assoc != null && $assoc['type'] == ClassMetadata::MANY_TO_MANY) { |
| 313 |
|
$joinSql .= $this->getSelectManyToManyJoinSQL($assoc); |
| 314 |
|
} |
| 315 |
|
|
| 316 |
|
$conditionSql = ($criteria instanceof Criteria) |
| 317 |
|
? $this->getSelectConditionCriteriaSQL($criteria) |