Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
H exclude columns in select for WITH-relation
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin v / vvval committed Mar 14, 2018
1 parent 5b528e6 commit 343d881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Spiral/ORM/Entities/Loaders/RelationLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function loadData(AbstractNode $node)
}

//Ensure all nested relations
$statement = $this->configureQuery($this->createQuery(), $references)->run();
$statement = $this->configureQuery($this->createQuery(), true, $references)->run();
$statement->setFetchMode(\PDO::FETCH_NUM);

foreach ($statement as $row) {
Expand Down

0 comments on commit 343d881

Please sign in to comment.