FAQ

On Wed, Jul 7, 2010 at 10:38 AM, Stuart Dodds 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

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 5 | next ›
Discussion Overview
groupdbix-class @
categoriesperl, catalyst
postedJul 7, '10 at 9:18a
activeJul 7, '10 at 1:17p
posts5
users4
websitedbix-class.org
irc#dbix-class

People

Translate

site design / logo © 2022 Grokbase