[PEPr] Comment on Database::DB_Table_Database
| From: | David Morse | Date: | Sun, 19 Nov 2006 04:07:35 +0000 |
| Subject: | [PEPr] Comment on Database::DB_Table_Database | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-44968@lists.php.net to get a copy of this message | ||
David Morse (http://pear.php.net/user/morse) has commented on the proposal for
Database::DB_Table_Database.
Comment:
For now, the autoJoin method can only generate join conditions for simple
inner joins, for which it uses the where clause in the resulting SQL. I
plan to eventually add the ability to generate relatively simple left
joins, which require the use of the SQL "on" syntax, by allowing the user
to declare some tables to be "optional". I'm assuming that the question
refers only to automatic generation of join conditions, since one can
always revert to bare SQL.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=456
--
Sent by PEPr, the automatic proposal system at http://pear.php.net