Rusty Geldmacher wrote: > I'm just getting started using Torque, and I think I hit a road >block. I can't seem to figure out how to do SQL "GROUP BY" statements >using the Criteria object. Could someone please help me out by showing >me an example of how to do this? I figured there would be an >"addGroupBy" method for the Criteria object but I guess it's trickier >than that. > I submitted a patch a few days ago that adds GROUP BY and HAVING functionality to the Criteria class. It's not a big change, but it's not up to me when it gets added.
There are a number of potential changes to the Criteria class at the moment, so it might be a little while. CHEERS> SAM -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
