Skip to content

Instantly share code, notes, and snippets.

@abloom
Forked from robertwalsh0/callback-soup.js
Last active August 29, 2015 13:57
Show Gist options
  • Save abloom/9489504 to your computer and use it in GitHub Desktop.
Save abloom/9489504 to your computer and use it in GitHub Desktop.
Blog.find({} function(err, docs) {
if (err) {
cb(err, null);
} else {
console.log(docs);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment