viewmodel
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -30,5 +30,14 @@ // lib/databases/mongoDb.js v0.1.0 | ||
var defaultOpt = { | ||
auto_reconnect: true, | ||
ssl: false | ||
}; | ||
options.options = options.options || {}; | ||
_.defaults(options.options, defaultOpt); | ||
this.isConnected = false; | ||
var self = this; | ||
var server = new mongo.Server(options.host, options.port, {}); | ||
var server = new mongo.Server(options.host, options.port, options.options); | ||
new mongo.Db(options.dbName , server, {}).open(function(err, client) { | ||
@@ -35,0 +44,0 @@ if (err) { |
{ | ||
"author": "adrai", | ||
"name": "viewmodel", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1482
67913
15