The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: mich <michaile...@gmail.com>
Date: Fri, 3 Jul 2009 12:58:30 -0700 (PDT)
Local: Fri 3 July 2009 20:58
Subject: Help me write subquery in update query
I want to execute such sql:
update blog_entry set comment_number = (select count(*) from
How I can write such query in DQL? I tried:
$q = Doctrine_Query::create()
but it throws exception "Unknown component alias Comment". You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||