Skip to content

Instantly share code, notes, and snippets.

@peterzawistowicz
Created April 17, 2015 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterzawistowicz/528087bd48c386fdf00e to your computer and use it in GitHub Desktop.
Save peterzawistowicz/528087bd48c386fdf00e to your computer and use it in GitHub Desktop.
function dropUserCollection(callback) {
console.log("dropUserCollection");
user = reader_test_db.collection('user');
if (undefined != user) {
user.drop(function(err, reply) {
console.log('user collection dropped');
callback(0);
});
} else {
callback(0);
}
},
@philgebhardt
Copy link

Is the comma (,) on line 12 a typo?

@dahas
Copy link

dahas commented Mar 1, 2016

Yes. It´s a typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment