I have this query:
$this->db->select("
IF(predicts.predict_owner = votes.vote_user_id , IF(judges.judge_did_accept = 1 , True , False) , 'NotExists' )" , 'user_judgement');
I get syntax error on
`'NotExists'` )
If I run the query directly inside the database, it works fine...
Is there any way to prevent CI to add the sign ` automatically?
Thanks