Leftjoin works but With doesn’t
Good Morning,
I am having an issue with understanding why my query isn’t working
This does not return both matches and related proof submission but running the same query with leftjoin show below works properly
I also tried specifying the columns I wanted returned using the with clause and still didn’t work, not sure what I’m missing, this is the first time using drizzle
1 Reply
but it does work properly here, so i must be doing something weong with the other one
If anyone finds this I figured it out.
I had a relations and inverse relations set up in my relations.ts file and by combining them into a single relations function it fixed the issue