Welcome Guest, Not a member yet? Register   Sign In
Unescaping WHERE EXISTS statements
#1

[eluser]mikegioia[/eluser]
Hi Guys -

I'm trying to run a WHERE EXISTS in an active record where clause but it keeps escaping the EXISTS and causing my queries to fail. I have a temp workaround by just querying a full string query instead of using active record but is there anyway to get around this escaping? Has anyone else used WHERE EXISTS successfully?

Thanks,
Mike
#2

[eluser]CroNiX[/eluser]
See the very last line of from the $this->db->where() section in the manual.




Theme © iAndrew 2016 - Forum software by © MyBB