dcvr69 has asked for the wisdom of the Perl Monks concerning the following question:
Last Update:Thanks for the feedback, and the ++ votes. Once I get a couple of minor things figured out, I'll be subitting Class::DBI::Plugin::Aggregates to CPAN - a first for me.
Ok, I've gotten all my issues with Class::DBI count_where method worked out and am extending and polishing it up for submission to CPAN. Two questions.
Ok, the other aggregate functions may take more work that I thought... grrr. I'm still pursuing it - just not as close as I thought - didn't think about the need for column names, etc, for the other aggregates. MIN(*) isn't very meaningful, is it?
Update 2:Looks like I should just include a factory for agg functions that aren't SQL standards, since I'm not sure which agg. functions are unique across DB vendors - advice regarding such is welcome.
What would be a good name for it? It's not really a search, since it only returns single values - not objects, so it wouldn't really fit as an add-on to AbstractSearch - IMHO. I should probably hunt down the CDBI bits on plug-ins/extensions, and see if there's a namespace already. Anyone know off the top of their head?
thanks
dcvr69
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Class::DBI::* module proposal
by diotalevi (Canon) on May 20, 2004 at 00:37 UTC | |
by dcvr69 (Beadle) on May 20, 2004 at 00:46 UTC | |
|
Re: Class::DBI::* module proposal
by perrin (Chancellor) on May 20, 2004 at 00:42 UTC | |
by dcvr69 (Beadle) on May 20, 2004 at 00:51 UTC |