brug IN
klausul som
$this->db->where('a.PreferenceID NOT IN (
SELECT PreferenceParentID FROM '.$table.'
WHERE EntityID IN ('.implode(",", $array).'))',
NULL, FALSE
);
brug IN
klausul som
$this->db->where('a.PreferenceID NOT IN (
SELECT PreferenceParentID FROM '.$table.'
WHERE EntityID IN ('.implode(",", $array).'))',
NULL, FALSE
);