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 "Carr, Eric (Contractor)" <EC...@usmint.treas.gov> on 2002/12/19 16:38:26 UTC
Aggregate functions and Torque
We are having trouble figuring out how to do Aggregate funcions using
torque. For example, how would you use the object model to do a select
like:
Select Count(State),State from tblUser group by State
The only way we have figured out is to use the village classes directly to
build the select, iterating over the Results objects returned. Is there a
better way?