backbone-db-mongodb
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -127,3 +127,5 @@ var _ = require('underscore') | ||
if(err) return callback(err); | ||
collection.remove({_id: model.id}, callback); | ||
collection.remove({_id: model.id}, function(err, res) { | ||
callback(err, res || options.ignoreFailures ? 1 : res); | ||
}); | ||
}); | ||
@@ -130,0 +132,0 @@ }, |
{ | ||
"name": "backbone-db-mongodb", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "MongoDB driver for Backbone.Db", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,3 +10,3 @@ ## Usage | ||
db: store, | ||
sync: RedisDb.sync, | ||
sync: store.sync, | ||
mongo_collection: 'mymodels' | ||
@@ -24,2 +24,2 @@ }); | ||
``` | ||
``` |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17819
594
24
1