Sure, Tim. I'll do it as soon as I get a chance.
Thanks,
john
-Original Message-
From: Tim Bunce
Sent: Saturday, March 12, 2005 5:11 AM
To: Zhuang Li
Cc: dbi-dev@perl.org; Tim Bunce HM; Daniel S. Lewart
Subject: Re: Patch for fetchall_hashref with multiple column key
Thanks
, March 12, 2005 5:11 AM
To: Zhuang Li
Cc: dbi-dev@perl.org; Tim Bunce HM; Daniel S. Lewart
Subject: Re: Patch for fetchall_hashref with multiple column key
Thanks John.
Any chance you could add some tests in the relevant t/*.t file?
[John has polished up the rough code I sketched
On Mar 14, 2005, at 12:25 PM, Tim Bunce wrote:
DBI 1.48 is out now. I added a t/11fetch.t file with some basic tests.
That's the one to patch.
Aw, no callbacks yet? ;-)
Regards,
David
On Mar 14, 2005, at 3:18 PM, Tim Bunce wrote:
No, sorry. I abused my position to get fetchall_hashref out sooner
'for work' (which you might have guessed if you noticed the email
address of the earlier emails :). It is next on the list though!
Understood. I do the same thing all the time for
Thanks John.
Any chance you could add some tests in the relevant t/*.t file?
[John has polished up the rough code I sketched out last January
on dbi-dev in response to a request from Daniel Lewart.]
Tim.
On Thu, Mar 10, 2005 at 10:32:35AM -0800, Zhuang Li wrote:
I've made a patch to
Ive made a patch to fetchall_hashref to handle
multiple column key. Selectall_hashref will inherit the same result and syntax.
Here is an example:
For tables with a multiple columns primary key, an array
reference
can be specified:
$sth = $dbh-prepare(SELECT date, account,
revenue,