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

[eluser]Seppo[/eluser]
I'm sure
Code:
// the problem is
$mb->where('client_package.pack_id', 'packages.package_id');
// try with
$mb->where('client_package.pack_id = packages.package_id');

Right now it produces
Quote:client_packages.package_id = 'packages.package_id'

instead of
Quote:client_packages.package_id = packages.package_id


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