Corrected top dql line.
This commit is contained in:
parent
911b58763b
commit
f5223491e6
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
// SELECT u.*, COUNT(p.id) num_posts FROM User u, u.Posts p WHERE u.id = 1
|
||||
// SELECT u.*, COUNT(p.id) num_posts FROM User u, u.Posts p WHERE u.id = 1 GROUP BY u.id
|
||||
|
||||
$query = new Doctrine_Query();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue