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