[Dbix-class] search() with "cmp" attribute

Matt S Trout dbix-class at trout.me.uk
Sat Jan 7 21:20:28 CET 2006


On Sat, Jan 07, 2006 at 12:04:38PM -0800, apv wrote:
> This was on my mind last week too. But I think the thing I wish it
> were there for isn't so easy to get around:
>  { logic => 'and' }
>  { logic => 'or' }
> What's the right way to do that through DBIC?

Have a look through the SQL::Abstract docs for '-and' and '-or'

Anybody want to turn this thread into a patch for FAQ/Cookbook ?

-- 
     Matt S Trout       Offering custom development, consultancy and support
  Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Dbix-class mailing list