Hmm. It looks like this was designed to be this way initially but since the
creation of that function Doctrine has evolved a lot. Can you create a
ticket for this?

Thanks, Jon

On Tue, Nov 4, 2008 at 11:15 AM, Thomas Rabaix <[EMAIL PROTECTED]>wrote:

> Hello,
>
> The Table::count method does not use DQL Listener. So mainly we may have a
> count of 4 but a DQL listener which add conditionnal clause changes this
> value.
>
> Doctrine::getTable('Post')->count() = 4
> Doctrine::getTable()->createQuery()->execute()->count() = 3
>
> Because the Post have a dql event listener which limit only enabled post to
> be selected.
>
> It is a bug ? or a feature ?
>
> --
> Thomas Rabaix
> Internet Consultant
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to