Comparing version 0.9.9-2 to 0.9.9-3
@@ -21,2 +21,4 @@ var sys = require('util'), | ||
if(process.env['npm_package_config_native'] != null) return; | ||
sys.puts("=== EXECUTING TEST_BSON ==="); | ||
@@ -23,0 +25,0 @@ |
@@ -20,2 +20,4 @@ var sys = require('util'), | ||
if(process.env['npm_package_config_native'] != null) return; | ||
sys.puts("=== EXECUTING TEST_FULL_BSON ==="); | ||
@@ -22,0 +24,0 @@ |
@@ -17,2 +17,4 @@ var Buffer = require('buffer').Buffer, | ||
assert = require('assert'); | ||
if(process.env['npm_package_config_native'] != null) return; | ||
@@ -19,0 +21,0 @@ console.log("=== EXECUTING TEST_STACKLESS_BSON ==="); |
@@ -1134,2 +1134,4 @@ /** | ||
Db.prototype.dropDatabase = function(callback) { | ||
var self = this; | ||
this._executeQueryCommand(DbCommand.createDropDatabaseCommand(this), function(err, result) { | ||
@@ -1598,3 +1600,3 @@ if (err == null && result.documents[0].ok == 1) { | ||
var args = Array.prototype.slice.call(arguments, 1); | ||
callback = args.pop(); | ||
callback = typeof args[args.length - 1] == 'function' ? args.pop() : null; | ||
options = args.length ? args.shift() : null; | ||
@@ -1665,4 +1667,7 @@ options = options || {}; | ||
var db = new Db(dbname, server, dbOptions); | ||
if (options.noOpen) | ||
if(options.noOpen) | ||
return db; | ||
// If callback is null throw an exception | ||
if(callback == null) throw new Error("no callback function provided"); | ||
@@ -1669,0 +1674,0 @@ db.open(function(err, db){ |
{ "name" : "mongodb" | ||
, "description" : "A node.js driver for MongoDB" | ||
, "keywords" : ["mongodb", "mongo", "driver", "db"] | ||
, "version" : "0.9.9-2" | ||
, "version" : "0.9.9-3" | ||
, "author" : "Christian Amor Kvalheim <christkv@gmail.com>" | ||
@@ -6,0 +6,0 @@ , "contributors" : [ "Aaron Heckmann", |
@@ -0,1 +1,6 @@ | ||
Main Documentation site | ||
======================= | ||
http://christkv.github.com/node-mongodb-native/ | ||
Install | ||
@@ -2,0 +7,0 @@ ======== |
Sorry, the diff of this file is not supported yet
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
666265
13181
414
11