On Wed, Jul 7, 2010 at 10:38 AM, Stuart Dodds <[email protected]> wrote:
> On Wed, 2010-07-07 at 10:18 +0100, Chris Cole wrote:
>
> to search twice on the same field you could try something like this:
>
> {
> mp_start => { '>=', $start, '<', $end, },
> }
Huh, I had never thought about using multiple key/value pairs before.
This is a LOT prettier than -and => [ start_date => {...}, start_date
=> {...} ]. Thanks!
Drew
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]