Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 42325 invoked by uid 500); 9 Nov 2002 18:14:53 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 42312 invoked from network); 9 Nov 2002 18:14:53 -0000 Mime-Version: 1.0 X-Sender: nazgul@somewhere.com@puremessaging.com Message-Id: In-Reply-To: <200211091449.gA9EnXg06530@bering.webline.dk> References: <200211091449.gA9EnXg06530@bering.webline.dk> Date: Sat, 9 Nov 2002 11:33:36 -0500 To: kar@kakidata.dk From: Kee Hinckley Subject: Re: DBIx::Recordset and functions Cc: embperl@perl.apache.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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