`where` inside relational queries `with` does not work
Hi there! I'm new to drizzle and tried out the relational queries.
I want to do a nested
Maybe someone knows what I am doing wrong and why I don't get the option to do a
My query:
My schema (simplified):
I want to do a nested
where rule inside a with relation. But doing it is giving me type errors (Object literal may only specify known properties, and where does not exist in type) and it's just ignored by the orm.Maybe someone knows what I am doing wrong and why I don't get the option to do a
where. Thanks in advance!My query:
My schema (simplified):