EllisLab/CodeIgniter — Issue #745: $this->db->not_like is not working properly.
Author: mokalovesoulmate
Created: 2011-12-07 03:55:06+00:00
State: open

I am trying to use

$this->db->not_like('itemcategories_id', '1', 'none');

which is supposed to be resulting

SELECT *
FROM tablename
WHERE `itemcategories_id` NOT LIKE '1'

but what's always happening

SELECT *
FROM tablename
WHERE `itemcategories_id` NOT LIKE '%1%'

‘before’ and ‘after’ or no argument still works.