Supports the use of existing databases
Open sqlite_helper.js file, you can adjust configuration here
const config = {
databaseName: "YOUR_DATABASE_NAME.db", // set your database name
debug: true, // set false for production and set true for development
paths: {
documentsFolder: knownFolders.documents(), // don't change this part, this for get root directory
assetsFolder: "assets/db", // location your sqlite file database
},
};
Put your existing database in assetsFolder