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). > > Thanks. > > Octavian
Right combine that snippet, with the docs for SQL::Abstract to get your
answer.
Hint: it has to do with being explicit about your compare operators:
{year => {'>=', 1999}}
signature.asc
Description: OpenPGP digital signature
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
