drizzle.query doesn't work with tables outside `public` schema
I can't make the drizzle query syntax work with tables in my custom schema. Am I missing something? This is a reduced example of my setup:
---
Although it's not documented I tried
db.query.custom.foo.findMany...
with no success.2 Replies
updating to drizzle-orm 0.44.2 fixed the issue
more specifically tracked and closed here https://github.com/drizzle-team/drizzle-orm/issues/4060
GitHub
[BUG]: DrizzleQueries are failing because of missing schema name (P...
Report hasn't been filed before. I have verified that the bug I'm about to report hasn't been filed before. What version of drizzle-orm are you using? 0.39.1 What version of drizzle-kit...