How to specify null value as filter in a Doctrine query? June 29, 2023 by Tarik I use doctrine with symfony, and this is how I do: where('a.vertical_id is NULL');