![Picture of Sandeep.C.R Picture of Sandeep.C.R](/picture/user/727777.jpg)
Sandeep.C.R - 2009-04-01 04:40:01 -
In reply to message 1 from saurabh sharma
i really dont think speed will be affected by objects size.if you have worked in drupal or someting like that,they have really huge objects.
The result is stored in an array for iteration ,So if your result is really huge,there might be a problem.But that can be fixed..
I have added support for MAX(),MIN() GROUP BY etc recently.Please download the latest version of the class.Also download the howto.html which decsribes the usage of these new features...below i am adding the section that explains the usage for Mysql functions
To find the max,min.sum or average value for a column in rowset ,
$rowset=$db->user();
$max_key=$rowset->max()->key;
$min_key=$rowset->min()->key
$sum_key=$rowset->sum()->key;
$average_key=$rowset->avg()->key ;or $rowset->average()->key;
This can be used with JOINS also.Just use the `tablealias_columnname` format while refereing to
columns for these functions.
Thanks,
Sandeep