How can i use TypeORM with better-sqlite3?
on the official documentation, there is a section form better-sqlite3.
I already installed by typeorm@latest and typeorm@next but there is no options for better-sqlite3 yet.
If i try to force initialize it, i got the following error
MissingDriverError: Wrong driver: "better-sqlite3" given. Supported drivers are: "cordova", "expo", "mariadb", "mongodb", "mssql", "mysql", "oracle", "postgres", "sqlite", "sqljs", "react-native", "aurora-data-api", "aurora-data-api-pg".
The
better-sqlite3driver was added in[email protected].typeormto0.2.26or higher.better-sqlite3.sqlite3can be uninstalled.ormconfig.jsonchange the type to"type": "better-sqlite3",