parent
391f066521
commit
d2a6170864
@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
|
||||
import Database from 'batter-sqlite3';
|
||||
|
||||
var db_connection = null;
|
||||
|
||||
function init(filename, options) {
|
||||
db_connection = new Database(filename, options);
|
||||
}
|
||||
|
||||
function get_connection() {
|
||||
return db_connection;
|
||||
}
|
||||
|
||||
|
||||
export { init, get_connection };
|
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
class ReadingRepo {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export default ReadingRepo;
|
Loading…
Reference in new issue