v1.4.1 - drizzle adapter doesn't support drizzle-orm@beta (rqb v2)

docs: https://rqbv2.drizzle-orm-fe.pages.dev/docs/relations-v1-v2#how-to-migrate-queries-from-v1-to-v2
better-auth is using the where: (t, { eq } => eq(t.id, 1)) syntax, whereas the rqb beta uses where: { id: 1 } syntax.

in the beta versions of drizzle, the "old" query syntax still exists on _query, which would allow drizzle beta versions to work with joins: https://rqbv2.drizzle-orm-fe.pages.dev/docs/relations-v1-v2#partial-upgrade-or-how-to-stay-on-rqb-v1-even-after-an-upgrade

i'd make a PR but getting peer deps to work here sounds like a nightmare
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Was this page helpful?