Re: DB.php phpInfo() suggestion and questions
| From: | Christian Stocker | Date: | Thu, 16 Aug 2001 08:24:27 +0000 |
| Subject: | Re: DB.php phpInfo() suggestion and questions | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1545@lists.php.net to get a copy of this message | ||
Hi
> 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.
very good idea.
> Question:
>
> Will all the tableInfo() fields be supported on all platforms?
mysql has a very good support of field-information, which for example
pgsql doesn't seem to have. For example, I found no way to find out in
pgsql, which field from a "left join" query belongs to which table. This
is no problem with mysql. so i doubt, we will have every tableInfo()
Information in all supported plattforms.
chregu