perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kee Hinckley <naz...@somewhere.com>
Subject Re: DBIx:Recordset
Date Thu, 23 Jan 2003 00:30:04 GMT
At 7:31 PM +0100 1/22/03, Kaare Rasmussen wrote:
>Can DBIx::Recordset make this update:
>
>UPDATE table SET col = col + ? WHERE id = ?

$set->Update({
	id	=> $id,
	'\col'	=> "col + $foo",
     });

but you are responsible for making sure $foo is escaped properly.
-- 

Kee Hinckley - Somewhere.Com, LLC
Business: http://consulting.somewhere.com/
Writings: http://commons.somewhere.com/buzz/

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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message