In extbase, how can I find all records that do not have a value in the foreign link column.
I have a model that can relate to a different object. The relation is 1:n and it is called "dayend".
I now create a query like this in the responding repository:
$query->equals("dayend", null);
This does not work, meaning that constraint is completely ignored. The original value in that column is "0". Thus, I also tried
$query->equals("dayend.uid", 0);
However, this throws an error: "Could not determine type of relation."
My goal is to get all objects that are NOT related to any "dayend" object. Any ideas?