query.with like results for innerJoin
If I so something like:
I get an array that looks like {Product: {}, Category: {}}[]
But is there a way to return an array of products that has a an attibute of Category? Like we do with
The reason for the question is the issue with
I get an array that looks like {Product: {}, Category: {}}[]
But is there a way to return an array of products that has a an attibute of Category? Like we do with
query() and with().The reason for the question is the issue with
where inside with How do I use `where` inside `with`?