RE: Patch for fetchall_hashref with multiple column key

2005-03-15 Thread Zhuang Li
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

Re: Patch for fetchall_hashref with multiple column key

2005-03-14 Thread Tim Bunce
, 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

Re: Patch for fetchall_hashref with multiple column key

2005-03-14 Thread David Wheeler
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

Re: Patch for fetchall_hashref with multiple column key

2005-03-14 Thread David Wheeler
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

Re: Patch for fetchall_hashref with multiple column key

2005-03-12 Thread Tim Bunce
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

Patch for fetchall_hashref with multiple column key

2005-03-10 Thread Zhuang Li
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,