In codeigniter, I need a custom active record class that can group where clauses. Upon stumbling i found this and a tutorial on how to extend the mysql driver. Upon doing so, I receive an error of Fatal error: Call to undefined method MY_DB_mysql_driver::select()
. I have followed the steps stated on the tutorial but still no luck.
Here's my sql statement:
$this->db->select('post_id, post_title');
$this->db->from('articles');
$this->db->where($sqlParams);
$this->db->open_bracket();
$this->db->or_like($sqlLikeParams);
$this->db->close_bracket();