You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your "id" field references a column "market_db`.`product"."id", but the table "market_db`.`product" is not part of the query! Did you forget to join it?
What version of
drizzle-orm
are you using?0.33.0
What version of
drizzle-kit
are you using?No response
Describe the Bug
i use mysql and i have a simple query like this
then i get error message like this
after i try to debugging
dialect.ts
in linedrizzle-orm/drizzle-orm/src/mysql-core/dialect.ts
Line 233 in c8359a1
variable
getTableName(f.field.table)
will returnmarket_db
.product
and thengetTableName(table)
returnproduct
Expected behavior
should be return same table name
Environment & setup
No response
The text was updated successfully, but these errors were encountered: