On 6/8/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote:

Hi,

Please tell me how to do the following SQL clause, or tell me where to
read
how to do it. I have searched in some POD docs from SQL:: and DBIx::, but
I
couldn't find the answer.

... where date(date_field)='2007-06-08';

Thank you.

Octavian



This will work just fine:
->search( { 'DATE(date_field)' => '2007-06-08 } );

--
J. Shirley :: [EMAIL PROTECTED] :: Killing two stones with one bird...
http://www.toeat.com
_______________________________________________
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]/

Reply via email to