Remove dependency on raw mongo from SchemaRouter.delete.

This commit is contained in:
Nikita Lutsenko
2016-02-29 17:04:38 -08:00
parent d7b1184b5e
commit 028ef2a7b2
4 changed files with 50 additions and 66 deletions

View File

@@ -42,6 +42,10 @@ DatabaseController.prototype.rawCollection = function(className) {
return this.adapter.collection(this.collectionPrefix + className);
};
DatabaseController.prototype.dropCollection = function(className) {
return this.adapter.dropCollection(this.collectionPrefix + className);
};
function returnsTrue() {
return true;
}