Possibility to insert unescaped data into db
currently this work (with AR as string builder):
And it is a bit hacky.
With IQ as SQL-builder:
$array['first_name'] = 'John'; $array['last_name'] = 'Doe'; $this->examplemodel->db_set('insert_date', 'NOW()', FALSE); $this->examplemodel->new_record($array)->save();
And it is a bit hacky.
With IQ as SQL-builder:
$array['first_name'] = 'John'; $array['last_name'] = 'Doe'; $this->db->set('insert_date', 'NOW()', FALSE); $this->examplemodel->new_record($array)->save();
Leave a comment