1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/manual/docs/Basic Components - Query - Introduction.php

9 lines
498 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
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 \>
You can execute DQL queries with Doctrine_Session::query() method.