Skip to content

Magento 2 addFieldToFilter check for NULL not working

What i am doing

->addFieldToFilter('value', array(['eq' => '', array('isnull' => true)]))

What i want in the query – ‘((value = ” )is NULL)`

Can anyone help me on this

Thanks.