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.


In reply to Re: Re: Class::DBI::* module proposal by dcvr69
in thread Class::DBI::* module proposal by dcvr69

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.