lib/dataHandler.js
function DataHandler(options) {
  options = options || {};
  var dataHandler = options.db._db._driver || 'disk';
  switch (dataHandler) {
    // load the driver to be used just once
    case 'memory':
      this.dataHandlerDriver = new Memory(options);
      break;
    case 'disk':
    default:
      this.dataHandlerDriver = new Disk(options);
  }
}
function DataHandler(options) {
  options = options || {};
  var dataHandler = options.db._db._driver || 'disk';
  switch (dataHandler) {
    // load the driver to be used just once
    case 'memory':
      this.dataHandlerDriver = new Memory(options);
      break;
    case 'disk':
    default:
      this.dataHandlerDriver = new Disk(options);
  }
}
Provides the most common I/O operations.

@param {object} options
@param {object} options.db
@param {object} options.db._
@param {string} options.db._._driver
@constructor