Skip to content

Instantly share code, notes, and snippets.

@nchanged
Last active July 29, 2016 10:47
Show Gist options
  • Save nchanged/37fbbbde142e103932644ec713e010b6 to your computer and use it in GitHub Desktop.
Save nchanged/37fbbbde142e103932644ec713e010b6 to your computer and use it in GitHub Desktop.
db_.collection('service').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
db_.collection('a').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
db_.collection('b').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
db_.collection('c').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
db_.collection('d').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
db_.collection('e').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
db_.collection('comment').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
db_.collection('sess').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
db_.collection('place').remove({}, {
w: 1
}, function(e) {
should.not.exists(e);
hashUsers(db_, done);
});
});
});
});
});
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment