drizzle-team / drizzle-team/drizzle-orm
Autodetect dialect based on configured driver
Open
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
Assessment
This issue has not been assessed yet.