in reply to Re: Class::DBI::* module proposal
in thread Class::DBI::* module proposal

You're right - I'll go through the CDBI namespace (again - haven't done so recently... past month or so) and see if there's anything out there already... maybe I'll be lucky and there is. :)

Update:

Class::DBI::ConceptSearch, mentions aggregates in it's description, but isn't really about min/max/...

Class::DBI::Extension (which another PM mentioned to me) almost does it - get_count_from_sql and get_range are nice, but don't allow for searches like AbstractSearch does - which is ironic, since they're from the same author.

Class::DBI::Plugin::CountSearch is almost a winner - but isn't quite as flexible as AbstractSearch on the where clause logic. Had I seen this first though, I may have just lived with the limitation. It also only does COUNT(*), not any of the others (min/max/...). This (and CDBI::search) will be good reference for adding in column support on the min/max/... methods.

If there is anyting that has all the functionality I'm looking for, it's not in the Class::DBI namespace.