Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // a valid id obtained before
- collection.find({"id":id}, function(err, result) {
- if(err) {
- console.log("Could not select");
- } else {
- console.log("Select successful for id: " + id);
- console.log(result);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement