You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/reference/dql-doctrine-query-language.rst
+4-17Lines changed: 4 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -588,7 +588,7 @@ And then use the ``NEW`` DQL keyword :
588
588
$query = $em->createQuery('SELECT NEW CustomerDTO(c.name, e.email, a.city, SUM(o.value)) FROM Customer c JOIN c.email e JOIN c.address a JOIN c.orders o GROUP BY c');
589
589
$users = $query->getResult(); // array of CustomerDTO
590
590
591
-
You can also nest several DTO :
591
+
You can also nest several DTO :
592
592
593
593
.. code-block:: php
594
594
@@ -684,18 +684,6 @@ You can hydrate an entity nested in a DTO :
0 commit comments