Bug in DrizzleAdapter #222

Closed
opened 2026-03-13 07:38:34 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @lucaslevin on GitHub (Nov 14, 2024).

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). **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) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#222