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/e81a9c0e45bcb779d10d to your computer and use it in GitHub Desktop.
Save peterzawistowicz/e81a9c0e45bcb779d10d to your computer and use it in GitHub Desktop.
function dropUserFeedEntryCollection(callback) {
console.log("dropUserFeedEntryCollection");
user_feed_entry = reader_test_db.collection('user_feed_entry');
if (undefined != user_feed_entry) {
user_feed_entry.drop(function(err, reply) {
console.log('user_feed_entry collection dropped');
callback(0);
});
} else {
callback(0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment