DB_DataObject auto joinAdd & no database.links.ini
| From: | newx | Date: | Sat, 29 Oct 2005 13:27:23 +0000 |
| Subject: | DB_DataObject auto joinAdd & no database.links.ini | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-40344@lists.php.net to get a copy of this message | ||
Hi ...
I'm currently using DB_DataObject on every project I work on. And I think it could do more .
We could add an "auto join" option to DB_DataObject wich will automaticly make all
possible links.
But to make it possible it has to be added to createTables.php the ability to map all foreign keys
for mysql,postgresql etc ... and adding them to DBO schema's .ini file or automaticly creating
database.links.ini file ... or even removing it's dependecy.
Also (I'm not sure about it) make possible to use joinAdd method also like
DB_DataObject::joinAdd('local_column','remote_table:column').
Thanks and correct me when I'm wrong
Newton Garcia
newx@newx.com.br
www.newx.com.br
Newx.com.br - Hosting & software development