perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kee Hinckley <>
Subject Re: Date function w/ DBIx::Recordset
Date Mon, 23 Dec 2002 17:59:27 GMT
At 5:43 PM +0000 12/23/02, Kaare Rasmussen wrote:
>I would like to let the database calculate the correct date, so 
>something like this should go into the date column:
>date '2003-1-31' + interval '1 month'
>but DBIx::Recordset does not like this syntax.
>Is it at all possible with DBIx::Recordset?

	'\fieldname'	=> "'2003-1-31' + interval '1 month'",
That tells it not to quote the value, but rely on you to do it.

Kee Hinckley - Somewhere.Com, LLC

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message