1
0
mirror of synced 2025-01-18 22:41:43 +03:00

Update section on mixed query and add notes on multiple entities in FROM clause. (update paragraph)

This commit is contained in:
Benjamin Eberlei 2011-04-03 20:13:34 +02:00
parent 2e777f99b9
commit a0b41feb72

View File

@ -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