You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by barak <ba...@fetchbook.info> on 2005/08/30 09:39:10 UTC

count rows in table

Hi,

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?

Thanks

Barak

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