Created
April 17, 2015 17:54
-
-
Save peterzawistowicz/528087bd48c386fdf00e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is the comma (
,
) on line 12 a typo?