i have a table with a foreign key (one relation) to another table:
in a query i want to get a mapRegions + where map satisfies specific conditions, something like this:
however, typescipt is unhappy about the where and the conditions seem to not be applied
can someone please advice me on how to do it correctly?