Terribly late on the reply, but what about: Criteria c = new Critera(); . List l = XxxPeer.doSelect(c);
l.getSize() or l.size()? I forget off the top of my head. - Stephen > -----Original Message----- > From: Russell Smyth [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 8:20 PM > To: 'Turbine Torque Developers List' > Subject: get object/row count > > Do torque peers have a way to simply/quickly get a count of rows/objects for > a set of criteria? or for the table as a whole? I dont see one, and in > trying to implement one in my Peer extension I cannot find a straight > forward way to do so.. > > Thanks in advance > Russell Smyth > > -- > To unsubscribe, e-mail: <mailto:turbine-torque-dev- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:turbine-torque-dev- > [EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
