[eluser]LuckyFella73[/eluser]
From CI Manual / active record:
Quote:set() will also accept an optional third parameter ($escape), that will prevent data from being escaped if set to FALSE. To illustrate the difference, here is set() used both with and without the escape parameter.
Code:
$this->db->set('field', 'field+1', FALSE); // that is what you need
$this->db->insert('mytable');
// gives INSERT INTO mytable (field) VALUES (field+1)