php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74370 PDOStatement::getColumnMeta Should not be Experimental
Submitted: 2017-04-04 13:53 UTC Modified: 2017-04-13 08:23 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: derek dot price at dxc dot com Assigned: peehaa (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.6.30 OS:
Private report: No CVE-ID: None
 [2017-04-04 13:53 UTC] 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().


Patches

74370_removed_experimental_note (last revision 2017-04-05 09:52 UTC by jay at room11 dot org)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-05 13:44 UTC] peehaa@php.net
-Assigned To: +Assigned To: peehaa
 [2017-04-05 13:51 UTC] peehaa@php.net
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.
 [2017-04-05 13:51 UTC] peehaa@php.net
-Status: Assigned +Status: Analyzed
 [2017-04-13 08:22 UTC] peehaa@php.net
Automatic comment from SVN on behalf of peehaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=342316
Log: Removes experimental note as per #74370

--
Provided by anonymous 82010 (jay@room11.org)
 [2017-04-13 08:24 UTC] peehaa@php.net
-Status: Analyzed +Status: Closed
 [2017-04-13 08:24 UTC] peehaa@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 22:01:33 2024 UTC