Is NodeSqliteAdapter unused? #1842

Closed
opened 2026-03-13 09:07:32 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @benmccann on GitHub (Sep 4, 2025).

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

Search doesn't show it used anywhere:

https://github.com/search?q=repo%3Abetter-auth%2Fbetter-auth%20NodeSqliteAdapter&type=code

Current vs. Expected behavior

I'd expect some file to import and use it

What version of Better Auth are you using?

main

System info

main

Which area(s) are affected? (Select all that apply)

Backend

Auth config (if applicable)


Additional context

No response

Originally created by @benmccann on GitHub (Sep 4, 2025). ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce Search doesn't show it used anywhere: https://github.com/search?q=repo%3Abetter-auth%2Fbetter-auth%20NodeSqliteAdapter&type=code ### Current vs. Expected behavior I'd expect some file to import and use it ### What version of Better Auth are you using? main ### System info ```bash main ``` ### Which area(s) are affected? (Select all that apply) Backend ### Auth config (if applicable) ```typescript ``` ### Additional context _No response_
GiteaMirror added the adapter label 2026-03-13 09:07:32 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Sep 4, 2025):

Hi @benmccann! I'm Dosu and I’m helping the better-auth team.

NodeSqliteAdapter is defined in the codebase and used internally by the NodeSqliteDialect class, but it isn't imported or referenced anywhere else. Its usage is limited to being instantiated within its own module, and it's not exported by default—there's even a comment noting it's not production ready and the export is commented out. This means its absence from imports and main production code is expected, and it's likely experimental or intended for future extensibility rather than active use in production logic. You can see its definition and limited usage here and supporting context in this PR.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Sep 4, 2025): <!-- Greeting --> Hi @benmccann! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the better-auth team. <!-- Answer --> `NodeSqliteAdapter` is defined in the codebase and used internally by the `NodeSqliteDialect` class, but it isn't imported or referenced anywhere else. Its usage is limited to being instantiated within its own module, and it's not exported by default—there's even a comment noting it's not production ready and the export is commented out. This means its absence from imports and main production code is expected, and it's likely experimental or intended for future extensibility rather than active use in production logic. You can see its definition and limited usage [here](https://github.com/better-auth/better-auth/blob/c29fabe0dcba116d894b1477a4d65824c5d04a90/packages/better-auth/src/adapters/kysely-adapter/node-sqlite-dialect.ts) and supporting context in [this PR](https://github.com/better-auth/better-auth/pull/3869). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/d7aa9512-9d39-4e1d-949f-d5886fda5b38?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/d7aa9512-9d39-4e1d-949f-d5886fda5b38?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/d7aa9512-9d39-4e1d-949f-d5886fda5b38?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/d7aa9512-9d39-4e1d-949f-d5886fda5b38?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d7aa9512-9d39-4e1d-949f-d5886fda5b38?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/d7aa9512-9d39-4e1d-949f-d5886fda5b38?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d7aa9512-9d39-4e1d-949f-d5886fda5b38?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/cdda13d9-dd27-4d31-b09a-5d8bec92de21/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/better-auth/better-auth/issues/4427)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#1842