I\'m using CodeIgniter\'s Active Record class to query the MySQL database. I need to select the rows in a table where a field is not set to NULL:
$this->d
$this->db->or_where('end_date IS', 'NULL', false);