Basic Components - Query - Introduction.php 501 Bytes
Newer Older
doctrine's avatar
doctrine committed
1 2 3 4 5 6 7
DQL (Doctrine Query Language) is a object query language which allows
you to find objects. DQL understands things like object relationships, polymorphism and 
inheritance (including column aggregation inheritance).
<br \><br \>
So instead of writing lots of SQL inner and outer joins, unions and subselects yourself,
you can write simple DQL queries where relationships are being referenced with dot-notation.
<br \><br \>
8
You can execute DQL queries with Doctrine_Connection::query() method.