Advertisement
Guest User

Untitled

a guest
May 27th, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. URL.findOne().exec(function (err, doc) {
  2.     if(err){
  3.       console.log('Error: ', err);
  4.     }
  5.     console.log(doc);
  6.   });
  7.  
  8. >>>> print out   { _id: 556656fc0fe0c9d01bed7696, __v: 0 }
  9. but i want to access
  10.  
  11. {
  12.     "_id": {
  13.         "$oid": "556656fc0fe0c9d01bed7696"
  14.     },
  15.     "profileUrl": "www.google,com",
  16.     "__v": 0
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement