api.js
function (dbname, callback) {
    var executeDB = load('db');
    this.internals.argv._.push(dbname);
    this.internals.mode = 'create';
    return Promise.fromCallback(
      function (callback) {
        executeDB(this.internals, this.config, callback);
      }.bind(this)
    ).asCallback(callback);
  }
function (dbname, callback) {
    var executeDB = load('db');
    this.internals.argv._.push(dbname);
    this.internals.mode = 'create';
    return Promise.fromCallback(
      function (callback) {
        executeDB(this.internals, this.config, callback);
      }.bind(this)
    ).asCallback(callback);
  }
function ( dbname , callback ) { var executeDB = load ( 'db' ) ; this . internals . argv . _ . push ( dbname ) ; this . internals . mode = 'create' ; return Promise . fromCallback ( function ( callback ) { executeDB ( this . internals , this . config , callback ) ; } . bind ( this ) ) . asCallback ( callback ) ; }
Creates a database of the given dbname.
Creates a database of the given dbname .