Req #8092 [NEW]: The fourth parameter of joinAdd() (DB_DataObject)

From: Date: Fri, 30 Jun 2006 14:22:12 +0000
Subject: Req #8092 [NEW]: The fourth parameter of joinAdd() (DB_DataObject)
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8108@lists.php.net to get a copy of this message
From: carlosjordao at gmail dot com Operating system: Linux Package version: PHP version: 4.4.2 Package: Documentation Bug Type: Feature/Change Request Bug description: The fourth parameter of joinAdd() (DB_DataObject) Description: ------------ The joinAdd() fourth parameter is used when we don't have an <database_name>.links.ini, otherwise the DB_DataObject will complain about it. I propose to change that behavior. This fourth parameter should mean the entire on clause, not only the field used to make the join. This would be a kind of "force" condition. If you don't have a <database_name>.links.ini, you would use this pamareter anyway, but you can't disable <database_name>.links.ini and use the fourth parameter. I had experimented this kind of need, once the expression I used in the "on condition" made a different result when it was in the "where" . In this case, I needed a "LEFT" join. -- Edit bug report at http://pear.php.net/bugs/bug.php?id=8092&edit=1 --

« previous php.pear.doc (#8108) next »