Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- URL.find().exec(function (err, doc) {
- if(err)console.log('Error: ', err);
- console.log(doc);
- //RETURNS: { _id: 556656fc0fe0c9d01bed769b, __v: 0 }
- });
- //THIS IS WHATS IN DB
- /*
- {
- "_id": {
- "$oid": "556656fc0fe0c9d01bed769b"
- },
- "Url": "http://12345",
- "__v": 0
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement