Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Request #8092 The fourth parameter of joinAdd() (DB_DataObject)
Submitted: 2006-06-30 14:22 UTC
From: carlosjordao at gmail dot com Assigned:
Status: Suspended Package: DB_DataObject
PHP Version: 4.4.2 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-06-30 14:22 UTC] carlosjordao at gmail dot com (Carlos)
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.

Comments

 [2006-09-28 05:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2010-04-26 04:11 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!