Created
February 1, 2015 13:29
-
-
Save daum/6ed112d81bf24ff06883 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In ProjectRepository | |
public function getBaseExportQuery() | |
{ | |
return $this->createQueryBuilder('p') | |
->getQuery() | |
->setHint(\Doctrine\ORM\Query::HINT_INCLUDE_META_COLUMNS, true) | |
->getArrayResult(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment