Welcome Guest, Not a member yet? Register   Sign In
Can the active record class do this with a LEFT JOIN?
#4

[eluser]Crucial[/eluser]
Ok, there are only two differences:

Normal Query: FROM client_packages
Active Record: FROM (`client_packages`)

Normal Query: LEFT JOIN client_details ON client_details.client_id = client_packages.client_id, packages
Active Record: LEFT JOIN `client_details` ON client_details.client_id = client_packages.client_id, packages

So just the backticks and the parenthesis...


Messages In This Thread
Can the active record class do this with a LEFT JOIN? - by El Forum - 03-26-2008, 03:26 PM
Can the active record class do this with a LEFT JOIN? - by El Forum - 03-26-2008, 04:03 PM
Can the active record class do this with a LEFT JOIN? - by El Forum - 03-26-2008, 04:06 PM
Can the active record class do this with a LEFT JOIN? - by El Forum - 03-26-2008, 04:22 PM
Can the active record class do this with a LEFT JOIN? - by El Forum - 03-26-2008, 04:26 PM
Can the active record class do this with a LEFT JOIN? - by El Forum - 03-26-2008, 04:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB