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: Mon, 6 Jul 2009 00:23:23 -0700 (PDT)
Local: Mon 6 July 2009 08:23
Subject: Re: Help me write subquery in update query
Anyone? What am I doing wrong?
On 3 июл, 22:58, mich <michaile...@gmail.com> wrote:
> 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.
| ||||||||||||||