db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "barak" <ba...@fetchbook.info>
Subject count rows in a table
Date Sun, 28 Aug 2005 06:58:12 GMT
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
 
 

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