[Dbix-class] same column for more times

Dami Laurent (PJ) laurent.dami at justice.ge.ch
Tue Feb 6 10:09:21 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).

You could write 

	{year => {-between => [2001, 2004]}}

Regards, L. Dami



More information about the Dbix-class mailing list