[CDBI] simplest way to do WHERE stuff

Peter Speltz peterspeltz at gmail.com
Tue Nov 29 19:52:40 GMT 2005


On 11/29/05, Matt S Trout <dbix-class at trout.me.uk> wrote:
> On Mon, Nov 28, 2005 at 09:09:19PM -0600, Peter Speltz wrote:
> > The simplest is Class::DBI::AbstractSearch. From synopsis:
> >
> > my @music = CD::Music->search_where(
> >       artist => [ 'Ozzy', 'Kelly' ],
> >       status => { '!=', 'outdated' },
> >   );
>
> Which will work identically under Sweet, except you can simply do ->search
> and it all works ...
>

I concede victory to Sweet as the simplest. . :)


pjs




More information about the ClassDBI mailing list