Here is my query:
$this->db->select('*')->from('users')->where(['doctor_id' => NULL])->where("JSON_CONTAINS(chamber_id, '2', '
chamber_id store in database is [“2”,“47”,“93”]
I want data where array of chamber id have “2” inside. if its happened with raw query)")->get()->result()
chamber_id store in database is ["2","47","93"]
I want data where array of chamber id have "2" inside. if its happened with raw query