Welcome Guest, Not a member yet? Register   Sign In
$q->where('hotfix.os=hotfixdata.os',null);
#1

[eluser]Unknown[/eluser]
Hello everyone i'm attempting to replicate a working SQL statement i've verified it is working due to running the SQL statement from SQLYog (I'm unable to post the code due to limitations on the board?)

The aspect that is causing the problem is this:
$q->where('hotfix.os=hotfixdata.os',null);
both hotfix and hotfixdata have been joined with $q->join(...);
if this line is remove all works but more data is return than should be, however i have to JOIN on hotfix.hotfixid=hotfixdata.hotfixid

I've also tried using $q->query which again returns another error.


Messages In This Thread
$q->where('hotfix.os=hotfixdata.os',null); - by El Forum - 09-07-2012, 06:53 AM
$q->where('hotfix.os=hotfixdata.os',null); - by El Forum - 09-07-2012, 03:23 PM
$q->where('hotfix.os=hotfixdata.os',null); - by El Forum - 09-10-2012, 02:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB