Open miello opened 9 months ago
Same problem. Created a repository for it. See README for more details
What version of drizzle-orm are you using? 0.30.1
What version of drizzle-kit are you using? 0.20.14
Environment & setup
Debugging a little more, I can see the problem is the return of mapResultRow
. We are executing the right query, the query is returning the correct values, but the return of mapResultRow
is not correctly mapping the values (table_a.column_b
and table_a.created_at
in my example)
I will investigate https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-orm/src/utils.ts#L14-L58 more later
What version of
drizzle-orm
are you using?0.29.3
What version of
drizzle-kit
are you using?0.20.13
Describe the Bug
It looks like that when using full join without specify select field, the result which return from query does not have value from the last column in joined table. This behavior happens in
drizzle-orm/bun-sqlite
if we clone the repository below and run it, it will give these results
Expected behavior
users.testing
value should not be undefinedEnvironment & setup