lib/middleware/parseMongoConnectionOptions.js
function parseMongoConnectionOptions(req, res, next) {
  var options = {};
  options.uri = req.mongoUrl;

  req.connectionOptions = options;

  return next();
}
function parseMongoConnectionOptions(req, res, next) {
  var options = {};
  options.uri = req.mongoUrl;

  req.connectionOptions = options;

  return next();
}
function parseMongoConnectionOptions ( req , res , next ) { var options = { } ; options . uri = req . mongoUrl ; req . connectionOptions = options ; return next ( ) ; }
Populating mongo connection options for forms operations.
@param req
@param res
@param next
@returns {*}
Populating mongo connection options for forms operations .