Hi,
when I select some entities from the Database, I will get all entities where have a null value in a column.
Example:
$collection = $this->entityManager
->getRDBRepository('TargetList')
->where([
'campaignsId' => 'NULL'
])
->find();
This does not work. What is the correct statement?
Best regards
Stefan
when I select some entities from the Database, I will get all entities where have a null value in a column.
Example:
$collection = $this->entityManager
->getRDBRepository('TargetList')
->where([
'campaignsId' => 'NULL'
])
->find();
This does not work. What is the correct statement?
Best regards
Stefan
Comment