diff --git a/lib/Instance.js b/lib/Instance.js index 0ac34bb..a8ffc20 100644 --- a/lib/Instance.js +++ b/lib/Instance.js @@ -216,6 +216,7 @@ Instance.prototype.remove = Instance.prototype.delete = function(callback) { this.__state.model.collection.remove(conditions, { w: callback ? 1 : 0 }, (function(err, removed) { if(err) this.emit('error', err); else this.emit('removed', this); + this.__state.isNew = true; return callback(err, removed); }).bind(this)); });