src/db/memdb.js
function MemDB(location) {
  if (!(this instanceof MemDB))
    return new MemDB(location);

  this.location = location || 'memory';
  this.options = {};
  this.tree = new RBT(cmp, true);
}
function MemDB(location) {
  if (!(this instanceof MemDB))
    return new MemDB(location);

  this.location = location || 'memory';
  this.options = {};
  this.tree = new RBT(cmp, true);
}
function MemDB ( location ) { if ( ! ( this instanceof MemDB ) ) return new MemDB ( location ) ; this . location = location || 'memory' ; this . options = { } ; this . tree = new RBT ( cmp , true ) ; }
In memory database for wmcc_core
using a red-black tree backend.
@alias module:db.MemDB
@constructor
@param {String?} location - Phony location.
@param {Object?} options
@param {Function} options.compare - Comparator.
In memory database for wmcc_core using a red - black tree backend .