Doc #74370 [Asn]: PDOStatement::getColumnMeta Should not be Experimental
| From: | peehaa@php.net | Date: | Wed, 05 Apr 2017 13:51:14 +0000 |
| Subject: | Doc #74370 [Asn]: PDOStatement::getColumnMeta Should not be Experimental | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14585@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74370&edit=1
ID: 74370
Updated by: peehaa@php.net
Reported by: derek dot price at dxc dot com
Summary: PDOStatement::getColumnMeta Should not be
Experimental
Status: Assigned
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.6.30
Assigned To: peehaa
Block user comment: N
Private report: N
New Comment:
We could remove the experimental warning tag and add a table with the supported drivers.
Looks like the supported drivers are: dblib, firebird, pgsql, mysql, sqlite.
And the unsupported drivers are: oci and odbc
Thanks to Joe for looking it up.
If nobody starts yelling at me for doing the above in the coming days I will go ahead and do it.
Previous Comments:
------------------------------------------------------------------------
[2017-04-04 13:53:26] derek dot price at dxc dot com
Description:
------------
---
From manual page: http://www.php.net/pdostatement.getcolumnmeta
---
This manual page should no longer list this feature as experimental. It has been around for at
least 10 years. There is a comment on the page that is 8 years old and a link to an external
discussion that is 10 years old. This is a very useful feature and SHOW COLUMNS is no substitute
since a select query may bridge multiple tables and may include calculations that are not directly
part of any table. Without this method, there is not even a way to gather the column names from an
empty result set from PDO.
Expected result:
----------------
The EXPERIMENTAL tag should be removed from the manual page for PDOStatement::getColumnMeta().
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74370&edit=1