Shouldn't this datetime cast/conversion thing be automagical?

    eval { $rs = $schema->resultset('DB::DATA')->search(
                        {Name  => {'like', $name_like},
                     "the date" => \"= cast ('01/4/2008' as datetime)"
                     })};

I just can't figure out, I'm sure, where the syntax is documented for
searching by datetime-type of column data via DBIx::Class.

Any pointers greatly appreciated.

Cheers,

-- 
 |\  /|        |   |          ~ ~  
 | \/ |        |---|          `|` ?
 |    |ichael  |   |iggins    \^ /
 michael.higgins[at]evolone[dot]org

_______________________________________________
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]

Reply via email to