I thought that, but then I need to do two access to the DB each time. Enviado desde mi dispositivo BlackBerry®
-----Original Message----- From: Marco Pivetta <ocram...@gmail.com> Sender: symfony-users@googlegroups.com Date: Fri, 13 May 2011 18:35:52 To: <symfony-users@googlegroups.com> Reply-To: symfony-users@googlegroups.com Subject: Re: [symfony-users] doctrine2 numRows 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 -- 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