Re: DB.php phpInfo() suggestion and questions
| From: | (Stig Sæther Bakken) | Date: | Thu, 16 Aug 2001 11:31:43 +0000 |
| Subject: | Re: DB.php phpInfo() suggestion and questions | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1563@lists.php.net to get a copy of this message | ||
["Yermo M. Lamers" <yml@dtlink.com>]
> Suggestion:
>
> It would make auto-generating SQL queries much easier of there were an
> "isString" field available in the tableInfo in addition to the "type"
> field. then you could know immediately whether a value needs to be
> quoted and escaped when generating a query.
>
> Who can I send patches to and what's the likelihood that such patches
> would make it into PEAR?
>
> Question:
>
> In DB/mysql.php I note that you can pass the name of a table to
> tableInfo(). Code that I'm writing makes use of that and I wanted to
> make sure that behavior was going to stay in the library. (i.e. that
> it's "official" behavior).
tableInfo() is official, we're not planning to remove or replace it
anytime soon.
> Question:
>
> Will all the tableInfo() fields be supported on all platforms?
Yes, in the extent we can use or extend PHP's database extensions to
support it. There's a lot of work left here though, and in some
databases it's a lot more work than in others.
- Stig
--
Stig Sæther Bakken <ssb@alltheweb.com>
Fast Search & Transfer ASA, Trondheim, Norway