Fix multiple queries issue #51

This commit is contained in:
Anatoliy Chakkaev 2012-03-25 15:37:44 +04:00
parent fa8a587215
commit 30d0818eed
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ function stillConnecting(schema, obj, args) {
schema.on('connected', function () {
method.apply(obj, [].slice.call(args));
});
return true;
};
AbstractClass.upsert = AbstractClass.updateOrCreate = function upsert(data, callback) {