CodeIgniter ActiveRecord join statement dropping '[' from the ON clause CodeIgniter ActiveRecord join statement dropping '[' from the ON clause codeigniter codeigniter

CodeIgniter ActiveRecord join statement dropping '[' from the ON clause


The problem is in the parameter ON. There does not exist an integrated solution in the framework (not in version 2).

You have 2 options:

  1. Altering the core of the library active_record

  2. Write the query in a complete chain with concatenations using $this->db->query();