Doctrine\ORM\QueryBuilder::getDQL
Get the complete DQL string formed by the current specifications of this QueryBuilder.
<code> $qb = $em->createQueryBuilder() ->select('u') ->from('User', 'u') echo $qb->getDql(); // SELECT u FROM User u </code>
Signature
public function getDQL()
Returns
- string
- The DQL query string.