Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

db; remove created collection on refresh

  • Loading branch information...
commit 7ee1064ce23d3d055f31f9e829639b0c15a2637e 1 parent e46accf
@aheckmann authored
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")
Please sign in to comment.
Something went wrong with that request. Please try again.