I'm trying to query with deeply nested with param and getting weird error. Am I doing anything wrong or is this a bug?
drizzle-orm: 0.31.2
Typescript code:
detail: 'There is a column named "supplier_id" in table "quotations_quotationLines_materialVariant_materialVariantsToSup", but it cannot be referenced from this part of the query.',
hint: 'To reference that column, you must mark this subquery with LATERAL.',
code: '42703',
detail: 'There is a column named "supplier_id" in table "quotations_quotationLines_materialVariant_materialVariantsToSup", but it cannot be referenced from this part of the query.',
hint: 'To reference that column, you must mark this subquery with LATERAL.',
0 Replies
No replies yetBe the first to reply to this messageJoin