From a0b41feb72101d6d5ed2b35f69282de918e4a7aa Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Sun, 3 Apr 2011 20:13:34 +0200 Subject: [PATCH] Update section on mixed query and add notes on multiple entities in FROM clause. (update paragraph) --- en/reference/dql-doctrine-query-language.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/reference/dql-doctrine-query-language.rst b/en/reference/dql-doctrine-query-language.rst index 879fc57d7..e592b9e02 100644 --- a/en/reference/dql-doctrine-query-language.rst +++ b/en/reference/dql-doctrine-query-language.rst @@ -943,11 +943,13 @@ clause, we get a mixed result. Conventions for mixed results are as follows: + - The object fetched in the FROM clause is always positioned with the key '0'. - Every scalar without a name is numbered in the order given in the query, starting with 1. - Every aliased scalar is given with its alias-name as the key. The case of the name is kept. - If several objects are fetched from the FROM clause they alternate every row. + Here is how the result could look like: .. code-block:: php