[PEPr] Comment on Database::MDB2_ActiveRecord
| From: | Lukas Smith | Date: | Fri, 10 Mar 2006 07:57:56 +0000 |
| Subject: | [PEPr] Comment on Database::MDB2_ActiveRecord | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41738@lists.php.net to get a copy of this message | ||
Lukas Smith (http://pear.php.net/user/lsmith) has commented on the proposal for
Database::MDB2_ActiveRecord.
Comment:
I also noticed you are using tableInfo(). This method is not ideal, since
it is unrealiable. It uses the extensions own reflection support which is
often seriously lacking.
Using listTableFields() (from the Manager module) and
getTableFieldDefinition() (from the Reverse module) is more reliable
(though also more expensive), since it uses the databases information
schema.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=368
--
Sent by PEPr, the automatic proposal system at http://pear.php.net