Menu ▾ ▴

#9 PEAR::DB Sqlite3 Driver Does Not Implement #tableInfo()

open
nobody
None
5
2008-04-15
2008-04-15
Anonymous
No

The PEAR::DB common DB driver includes a #tableInfo() method for performing a describe table (or, in SQLite's case, a PRAGMA table_info) command and returning a table's columns/datatypes/etc.

The Sqlite3 PEAR::DB driver distributed with your sqlite3 bindings does not implement this method. Attached is a patch to add it in.

Regards,
Nick Evans
<owlmanatt@gmail.com>

Discussion

  • Nobody/Anonymous

    Add #tableInfo() method.

     

Log in to post a comment.