EllisLab/CodeIgniter — Issue #590: Active Record breaking subqueries within JOINs - needs optional field/table protection
Author: RS71
Created: 2011-10-18 01:41:35+00:00
State: open

I'm currently trying to run a subquery within a JOIN but $this->db->join() keeps breaking the query - it seems it is trying to protect field/table names. It ends up adding backticks to SELECTs in the subquery. It'd be nice if AR would support subqueries or if I could tell it to not protect fields by passing an additional parameter.