logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Re: Dbi: get number of rows in result?: msg#00332

Subject: Re: Re: Dbi: get number of rows in result?
Richard Jones wrote:

> On Wed, Aug 25, 2004 at 10:12:41AM -0400, Jesse Guardiani wrote:
>> Well, I don't really see the point in adding it just to one driver.
>> The whole idea behind Dbi is that it's an abstraction layer, so I'd
>> like to keep things portable. Thanks for the response though.
> 
> It's more of an abstraction layer for the programmer than for
> databases.

:) Yeah, I noticed. It's much easier to use than the stock MySQL driver.
Congrats on a nice design.


> It'd be very hard to truly abstract away the myriad 
> differences between databases - eg. how would you emulate sub-selects
> or Postgres's Perl stored-procedures on MySQL; or the differences in
> date/timestamp representations between PostgreSQL and Informix?

That reminds me of another point: Did you use all of your sql_t
types when you wrote Dbi_mysql? I noticed that dates come back
as `String, even though you have a `Date type defined... what's
up with that?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>