[GH-ISSUE #525] Bug in DrizzleAdapter #16937

Closed
opened 2026-04-15 14:53:44 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @lucaslevin on GitHub (Nov 14, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/525

Describe the bug

I upgraded from 0.7.5 to ^0.8.3-beta.5. My schema and database is unchanged, when I do:

await authClient.signIn.social({ provider: 'gitlab' });

On server it outputs:

[Better Auth]  ERROR   e.select() is not a function. (In 'e.select()(i)', 'e.select()' is an instance of MySqlSelectBuilder)
│ 
│   at <anonymous> (/node_modules/better-auth/dist/adapters/drizzle.js:2:1915)
Originally created by @lucaslevin on GitHub (Nov 14, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/525 **Describe the bug** I upgraded from 0.7.5 to ^0.8.3-beta.5. My schema and database is unchanged, when I do: ```typescript await authClient.signIn.social({ provider: 'gitlab' }); ``` On server it outputs: ```bash │ [Better Auth] ERROR e.select() is not a function. (In 'e.select()(i)', 'e.select()' is an instance of MySqlSelectBuilder) │ │ at <anonymous> (/node_modules/better-auth/dist/adapters/drizzle.js:2:1915) ```
GiteaMirror added the locked label 2026-04-15 14:53:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16937