var GraoModel = function(di) {
  di.event.newSuccess('Database Connection....');
  di.mongoose.connect(di.config.db);
  di.event.newSuccess('Instance created');
  di.models = this;
  di.models = di.loader.tryLoad(di.loader.loading('model'), di, 'models');
};

module.exports = exports = GraoModel;

var GraoModel = function(di) {
  di.event.newSuccess('Database Connection....');
  //di.mongoose.connect(di.config.db);
  di.mongoose.connect(di.config.db, {useMongoClient: true});
  di.event.newSuccess('Instance created');
  di.models = this;
  di.models = di.loader.tryLoad(di.loader.loading('model'), di, 'models');
};

module.exports = exports = GraoModel;

Add new param to mongoose connection
Add new param to mongoose connection
