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 and functions
Date Sat, 09 Nov 2002 16:33:36 GMT
At 3:49 PM +0100 11/9/02, Kaare Rasmussen wrote:
>Can I select a function with DBIx::Recordset?
>
>E.g.:
>
>SELECT updateRow(1,2,3,4);

I don't know if you can do it without setting a table, but this 
certainly works:

$$result->Search({'$fields'     => 'now() as now'});
print $result->{now}, "\n";
-- 

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/

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