Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- URL.findOne().exec(function (err, doc) {
- if(err){
- console.log('Error: ', err);
- }
- console.log(doc);
- });
- >>>> print out { _id: 556656fc0fe0c9d01bed7696, __v: 0 }
- but i want to access
- {
- "_id": {
- "$oid": "556656fc0fe0c9d01bed7696"
- },
- "profileUrl": "www.google,com",
- "__v": 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement