As far as I know, that is not supported by all vendors (see SQLite), thus not by Doctrine 2. You will have to add a COUNT() somewhere :)
Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 13 May 2011 18:33, SergioAlbatronic <sergio.pe...@albatronic.com> wrote: > Hi, can someone tell me how I can know the number of rows in a query. > > Like mysql_num_rows() function. > > Thanks in advance. > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en