multiple joins of same table in one query?
i want to do this query
basically i have one
inner join
on users
and also a left join
on users. but the resulting type makes all fields never
when i remove either of the joins on users
, i get the correct types2 Replies
When you're doing self joins you need to create aliases
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.