drizzle-team / drizzle-team/drizzle-orm

Autodetect dialect based on configured driver

Open
#3,415 0 comments 0 reactions 0 assignees View on GitHub
drizzle/kit improvement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

Most drizzle-kit commands require explicitly passing the dialect after a colon. However, for a configured database connection this dialect can already be inferred based on the selected driver (e.g. `driver: "better-sqlite"` corresponds to `foobar:sqlite`).

This would make the commands easier to use, especially when dealing with different databases between projects which currently means that one has to always look up which database is used to select the correct command.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.