db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "barak" <ba...@fetchbook.info>
Subject count rows in table
Date Tue, 30 Aug 2005 07:39:10 GMT

I wanted to know if there is a way in the new version of torque to use
"count *" (or any other count) from a peer. I saw there is an option
using CountHelper like this: 

new CountHelper().count(new Criteria("MyDatabase").add(
some_kind_of_criterion ))

Is there a way to use something like this from the peer so I won't have
to insert my database name each peer?



 <http://www.fetchbook.info/> www.FetchBook.Info
Find the lowest price - Compare more than a hundred book stores in a

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message