Re: DB tableInfo
| From: | Tomas V.V.Cox | Date: | Tue, 12 Feb 2002 14:16:08 +0000 |
| Subject: | Re: DB tableInfo | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-840@lists.php.net to get a copy of this message | ||
Gmx wrote:
>
> Hi,
>
> I think there is a mistake in the Dokumentation.
> This is part of the Dokumentation:
>
> DB::tableInfo()
> DB::tableInfo() -- returns meta data about the result set
> .....
>
> but it has to be:
>
> DB_Result::tableInfo()
> DB_Result::tableInfo() -- returns meta data about the result set
> .....
Yeah.
$db->tableInfo('table') -- returns info about the table "table"
$res = $db->query("select ..");
$res->tableInfo(); -- returns info about the result set
> It took a long time until I found the bug, because I always thought it was
> my fault.
Sorry, we have still pending to review and finish the doc. Thanks any
way for reporting that.
Tomas V.V.Cox