Travis Bickle
DTDrizzle Team
•Created by Travis Bickle on 2/18/2024 in #help
Subquery in insert().values()
I'm trying to use a subquery inside insert().values() but I can't seemed to solve this error.
Full schema:
https://github.com/dewodt/guess-astro/blob/main/db/schema.ts
Code:
The error says
I've spent hours on this one. I'm suspecting that drizzle doesnt support subqueries inside of insert()? Or is there something wrong with my query? Thank you.
3 replies