Re: counting rows

From: Aristedes Maniatis (ar..aniatis.org)
Date: Mon Jul 23 2007 - 09:57:48 EDT

  • Next message: Jean-Paul Le Fèvre: "Re: AW: Out of memory exception when creating a large number of objects"

    On 23/07/2007, at 8:49 PM, Jack O'Connor wrote:

    > Or something similar, that quickly returns the number of rows from
    > a select query?

    If you don't need the actual records, but just the count, then you
    can use one of the several mechanisms to do this. Here's one:

    http://cayenne.apache.org/doc/customizing-queries.html

    Ari Maniatis

    -------------------------->
    Aristedes Maniatis
    phone +61 2 9660 9700
    PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8





    This archive was generated by hypermail 2.0.0 : Mon Jul 23 2007 - 09:58:18 EDT