Basic Components - Query - Introduction.php 569 Bytes
Newer Older
zYne's avatar
zYne committed
1
<?php ?>
doctrine's avatar
doctrine committed
2 3
DQL (Doctrine Query Language) is a object query language which allows
you to find objects. DQL understands things like object relationships, polymorphism and 
zYne's avatar
zYne committed
4 5
inheritance (including column aggregation inheritance). 
For more info about DQL see the actual DQL chapter.
doctrine's avatar
doctrine committed
6
<br \><br \>
zYne's avatar
zYne committed
7 8 9
Doctrine_Query along with Doctrine_Expression provide an easy-to-use wrapper for writing DQL queries. Creating a new 
query object can be done by either using the new operator or by calling create method. The create method exists for allowing easy
method call chaining.