MDB 2.0 release and features.
| From: | Fabrizio Balliano | Date: | Fri, 08 Aug 2003 17:04:21 +0000 |
| Subject: | MDB 2.0 release and features. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7112@lists.php.net to get a copy of this message | ||
Hi to all,
We're developing a PHP framework named MerlinWork
(http://merlinwork.sourceforge.net).
We started developing it with PEAR::DB, now we've switched to PEAR::MDB
because we see many possible new features with the MDB Manager.
I'm trying to autodetect database field type using PEAR::MDB, but we see
that:
- tableInfo does not return PEAR::MDB field types but the native types.
- listTableFields needs a table and does a query for every call.
- getTableFieldDefinition needs a table and does a query for every call.
Is it possible to have the tableInfo returning the PEAR::MDB compatible
data type, or there is another similar method?
Is it possible to know the PEAR::MDB compatible field type having a
result set and not a table?
Eg: $rs = $mdb->query('SELECT * FROM tab_1 JOIN etc... etc..');
$real_data_types = $mdb->tableInfo($rs)
$mdb_data_types = $mdb->tableInfoMDBTypes($rs)
Could this be implemented in the 2.0 version?
Are there some news about the 2.0 release date?
Excuse me for all these questions.
Thanks in advance.
Regards.
--
Fabrizio Balliano
________
CREALABS
Viale dei Mughetti, 13/A - 10151 Torino - Italy
Tel. +39-011-735645 - Fax +39-011-735645
http://www.crealabs.it - mailto:fabrizio.balliano@crealabs.it