lib/sqlite3db.js
function(sqlite3, dbSettings) {
  if (!(this instanceof SQLiteDB)) {
    return new SQLiteDB(sqlite3, dbSettings);
  }

  this.constructor.super_.call(this, NAME, dbSettings);

  this.name = NAME;
  this.settings = dbSettings;
  this.sqlite3 = sqlite3;
  this.debug = dbSettings.debug;
  this.current_order = [];
  this.file_name = dbSettings.file_name;

  if (this.debug) {
    debug('Settings %j', dbSettings);
  }
}
function(sqlite3, dbSettings) {
  if (!(this instanceof SQLiteDB)) {
    return new SQLiteDB(sqlite3, dbSettings);
  }

  this.constructor.super_.call(this, NAME, dbSettings);

  this.name = NAME;
  this.settings = dbSettings;
  this.sqlite3 = sqlite3;
  this.debug = dbSettings.debug;
  this.current_order = [];
  this.file_name = dbSettings.file_name;

  if (this.debug) {
    debug('Settings %j', dbSettings);
  }
}
function ( sqlite3 , dbSettings ) { if ( ! ( this instanceof SQLiteDB ) ) { return new SQLiteDB ( sqlite3 , dbSettings ) ; } this . constructor . super_ . call ( this , NAME , dbSettings ) ; this . name = NAME ; this . settings = dbSettings ; this . sqlite3 = sqlite3 ; this . debug = dbSettings . debug ; this . current_order = [ ] ; this . file_name = dbSettings . file_name ; if ( this . debug ) { debug ( 'Settings %j' , dbSettings ) ; } }
Constructor for SQLite connector
@param {Object} settings The settings object
@param {DataSource} dataSource The data source
instance
@constructor
Constructor for SQLite connector