1
0
mirror of synced 2025-01-06 00:57:10 +03:00
doctrine2/manual/new/docs/en/dql-doctrine-query-language/from-clause.txt

14 lines
491 B
Plaintext
Raw Normal View History

Syntax:
<code>
FROM <component_reference> [[LEFT | INNER] JOIN <component_reference>] ...
</code>
The {{FROM}} clause indicates the component or components from which to retrieve records. If you name more than one component, you are performing a join. For each table specified, you can optionally specify an alias.
* The default join type is {{LEFT JOIN}}. This join can be indicated by the use of either {{LEFT JOIN}} clause or simply '{{,}}', hence the following queries are equal: