where not null in codeigniter code example Example: codeigniter query builder where not null $this->db->where('field is NOT NULL', NULL, FALSE);