1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Corrected top dql line.

This commit is contained in:
Jonathan.Wage 2007-04-12 16:48:37 +00:00
parent 911b58763b
commit f5223491e6

View File

@ -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();