hexcowboy
Explore posts from serversDTDrizzle Team
•Created by hexcowboy on 1/24/2024 in #help
not getting proper type inference on any queries
i'm trying to get
jobs
with companies
using drizzle queries
but for some reason the type of jobs
does not have the company
property: Property 'company' does not exist on type '...'
i have made sure to define the relation in my schema file
using drizzle-orm 0.29.3
2 replies
DTDrizzle Team
•Created by hexcowboy on 1/16/2024 in #help
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 types3 replies