1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Fixed some errors in syntax.

This commit is contained in:
Jonathan.Wage 2007-04-12 16:47:56 +00:00
parent 4fc97fe1b8
commit 911b58763b

View File

@ -6,4 +6,6 @@ $query = new Doctrine_Query();
$query->select('u.*, COUNT(p.id) num_posts') $query->select('u.*, COUNT(p.id) num_posts')
->from('User u, u.Posts p') ->from('User u, u.Posts p')
->where('u.id = ?', 1) ->where('u.id = ?', 1)
->groupby('u.id')
->execute();
?> ?>