Possible bug with nested query + reverse access
I have a pretty nested query.
It results in this error:
I can make the query work if i go one level down:
Or alternatively if i remove the reverse access: Hope you guys can assist me with this!
Or alternatively if i remove the reverse access: Hope you guys can assist me with this!
2 Replies
For more context, i have uploaded a summary of the schema and relationship
JIC someone faces the same issue, this is a table length issue: https://github.com/drizzle-team/drizzle-orm/issues/2066
GitHub
[BUG]: Deeply nested queries fail due to table name length · Issue ...
What version of drizzle-orm are you using? 0.30.1 What version of drizzle-kit are you using? 0.20.14 Describe the Bug When creating a query with deeply nested data, the sql generated uses names bas...