Created
December 29, 2013 08:53
-
-
Save pumatertion/8168692 to your computer and use it in GitHub Desktop.
TYPO3 Flow Repository - Debug the current query statement
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
$query = $this->createQuery(); | |
/** | |
* @var \Doctrine\ORM\QueryBuilder $queryBuilder | |
*/ | |
$queryBuilder = \TYPO3\Flow\Reflection\ObjectAccess::getProperty($query, 'queryBuilder', TRUE); | |
\TYPO3\Flow\var_dump($queryBuilder->getQuery()->getSQL(), __CLASS__ . '#' . __LINE__, FALSE, FALSE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment