Hello guys, I’m making an app that uses sqlite and would not want to keep repeating the connection to all files using the sqlite. I would like to share a single connection to all files?
now I repeat the code below into all of the files and it is not pretty.
var database = require('sqlite-cipher'); database.connect('database/database.fuze10','08N%jqIB1^3s2)Gct]R-');
Hail for all!