plurk
DTDrizzle Team
•Created by plurk on 12/20/2024 in #help
query where condition on foreign key relation
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?
2 replies