Darth Vedan
DTDrizzle Team
•Created by Darth Vedan on 3/27/2025 in #help
Type Error When Using ...companies in Drizzle ORM select()
I'm using Drizzle ORM with PostgreSQL and trying to fetch all columns from the companies table along with a job count.
The following code throws a type error (but works at runtime):
However, explicitly selecting each column works without errors:
Error:
2 replies