abstract search count

[prev] [thread] [next] [Date index for 2004/06/11]

From: Jean-Christophe Zeus
Subject: abstract search count
Date: 07:46 on 11 Jun 2004
I prepared a little plugin for cdbi, which combines the functionalities 
of Class::DBI::Plugin::CountSearch and Class::DBI::AbstractSearch.

In case this is _not_ already possible in another way, I will upload 
this plugin to CPAN. I suggest "Class::DBI::Plugin::AbstractCount" as a 
module name, and "count_search_where" as a method name.

Here's on of the examples from my docs:

use base 'Class::DBI';
use Class::DBI::Plugin::AbstractCount;

my $count = Music::Vinyl->count_search_where(
{ artist   => 'Frank Zappa'
, title    => { like => '%Shut Up 'n Play Yer Guitar%' }
, released => { between => [ 1980, 1982 ] }
});

Please tell me if there's already another way of doing this or if you 
have better names for module/method.
        -- 
        J.-C Zeus (mail@xxxxxx.xxx)

(message missing)

abstract search count
Jean-Christophe Zeus 07:46 on 11 Jun 2004

RE: abstract search count
Jim Helm 16:15 on 14 Jun 2004

Re: abstract search count
Jean-Christophe Zeus 14:45 on 16 Jun 2004

Re: abstract search count
Tony Bowden 07:01 on 17 Jun 2004

Re: abstract search count
Jean-Christophe Zeus 08:49 on 17 Jun 2004

Re: abstract search count
Tony Bowden 09:11 on 17 Jun 2004

Re: abstract search count
Jean-Christophe Zeus 09:39 on 17 Jun 2004

Re: abstract search count
Stephen Quinney 10:06 on 17 Jun 2004

Re: abstract search count
Jean-Christophe Zeus 10:47 on 17 Jun 2004

Re: abstract search count
Stephen Quinney 10:53 on 17 Jun 2004

Re: abstract search count
Jean-Christophe Zeus 13:33 on 17 Jun 2004

Re: abstract search count
Simon Cozens 14:20 on 17 Jun 2004

Re: abstract search count
Jean-Christophe Zeus 14:26 on 17 Jun 2004

Generated at 11:35 on 01 Dec 2004 by mariachi v0.52