I created the search function at the searchorders model and I want to select the items that have not null an item.
How can I implement it?I wrote this statement that does not seem to work
$query = Orders::find();
$query->where(['codec'=>'NOT NULL']);