[Dbix-class] same column for more times

Matt S Trout dbix-class at trout.me.uk
Tue Feb 6 09:31:52 GMT 2007


On 5 Feb 2007, at 19:47, Octavian Rasnita wrote:

> Thank you but I already read that and I have also read the comment  
> for it:
>
> # year = 2005 OR year = 2004
>
> But I need year>=2001 AND year<=2004.
>
> (with AND and not OR).

Correct, but there's a specific note in the SQL::Abstract docs on how  
you get from there to what you need - search for '-modifier'.

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Dbix-class mailing list