How to filter by joined tables with Drizzle query syntax?
Hi there! I was wondering if there was a way to query by a joined table using drizzle query syntax. Here's a concise example:
So how is this supposed to be done? users <-> info is 1 to 1 so with
So how is this supposed to be done? users <-> info is 1 to 1 so with
.select() query I would just filter by the joined table like I'm trying above, but this is not working in this case. I can't add a where to the info block since it's a one to one.