text: console.log("before");
  const sqlite3 = require("sqlite3").verbose();
  console.log("after");
  
  // open database in memory
  // let db = new sqlite3.Database(':memory:', (err) => {
  //   if (err) {
  //     return console.error(err.message);
  //   }
  //   console.log('Connected to the in-memory SQlite database.');
  // });
  
  module.exports = {
  
    int: function(){
      // open database in memory
      const db = new sqlite3.Database(':memory:', (err) => {
        if (err) {
          return console.error(err.message);
        }
        console.log('Connected to the in-memory SQlite database.');
      });
    },
    close: function(){
      // close the database connection
      this.db.close((err) => {
        if (err) {
          return console.error(err.message);
        }
        console.log('Close the database connection.');
      });
    }
  
  
  
  
  }
  