Skip to content
Browse files

db; remove created collection on refresh

  • Loading branch information...
1 parent e46accf commit 7ee1064ce23d3d055f31f9e829639b0c15a2637e @aheckmann committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/db.js
View
3 lib/db.js
@@ -132,6 +132,9 @@ function createConstructor (db) {
return this[name];
}
+ // accessor management
+ collections.push(name);
+
return this[name] = db.collection(name, opts);
}).help = help("Accesses a collection")

0 comments on commit 7ee1064

Please sign in to comment.
Something went wrong with that request. Please try again.