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
I'm already using drizzle and pg in my nuxt project. What extra benefits does db0 bring? Moving config from a utils module to nuxt/nitro config? Seamless switching from one database to another as now we have a uniform config interface?
Thanks in advance
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
For usage with Postgres, it is already supported. It may seem like it works only with SQLite, but I believe only dialects or something were used. I just wrote a passing test case for postgres to verify myself and it works like a charm.
Describe the feature
It seems that only sqlite is supported when using drizzle integrator from db0.
db0/src/integrations/drizzle/index.ts
Line 2 in fde26b5
Is there a plan to support other databases?
I also have some questions. Since the discussion tab is not enabled, I post them here by the way.
What's the recommended way to integrate drizzle in nuxt server routes? Like following?
and then call
useDb
in every event handler?I'm already using drizzle and pg in my nuxt project. What extra benefits does db0 bring? Moving config from a utils module to nuxt/nitro config? Seamless switching from one database to another as now we have a uniform config interface?
Thanks in advance
Additional information
The text was updated successfully, but these errors were encountered: