Welcome Guest, Not a member yet? Register   Sign In
Backticks breaking complex joins when using Active Record
#2

[eluser]Nathan Pitman (Nine Four)[/eluser]
Well I found a solution of sorts, If the JOIN is going to include anything more complex than a simple comparison I prepend it with "$this->db->_protect_identifiers = false;" and then append "$this->db->_protect_identifiers = true;".

Hacky but it works.


Messages In This Thread
Backticks breaking complex joins when using Active Record - by El Forum - 08-15-2012, 06:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB