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
And just to give you yet another option, you can use NOT ISNULL(archived) as your WHERE filter.
NOT ISNULL(archived)