db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carr, Eric (Contractor)" <EC...@usmint.treas.gov>
Subject Aggregate functions and Torque
Date Thu, 19 Dec 2002 15:38:26 GMT
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
	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?

View raw message