Corrected top dql line.
This commit is contained in:
parent
911b58763b
commit
f5223491e6
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?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();
|
$query = new Doctrine_Query();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user