Hi dear community
One of my models is an event (AgendaEintrag) with a DateField. If no date is set, the MySQL-Entry contains the value NULL. Now I'd like to display all Events without a date. This does not work:
$agendaEintraege = DataObject::get("AgendaEintrag", "Date=NULL", "Date ASC");
If I search for anything else, it works. I can for example display past events:
$agendaEintraege = DataObject::get("AgendaEintrag", "Date=<CURDATE()", "Date ASC");
Any idea how I can get those NULL containing entries? Thanks :-)