Skip to content

Commit

Permalink
add select relation identifier for array and record hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
alquerci committed Apr 17, 2024
1 parent 1c56024 commit 3777119
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Doctrine/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,9 @@ private function appendRelationIdentifierOnSqlSelect()
{
$shouldSelectRelationIdentifier = in_array($this->_hydrator->getHydrationMode(), [
Doctrine_Core::HYDRATE_ARRAY,
Doctrine_Core::HYDRATE_ARRAY_HIERARCHY,
Doctrine_Core::HYDRATE_RECORD,
Doctrine_Core::HYDRATE_RECORD_HIERARCHY,
Doctrine_Core::HYDRATE_ON_DEMAND,
], true);

Expand Down

0 comments on commit 3777119

Please sign in to comment.