dimanche 5 avril 2015

tweets stored in mongodb via node.js in this format how extract that data in my file [on hold]




stream.on('data', function (data) {
console.log(data);
console.log("\n\n\n\n");
db.tweets.findAndModify({
query: {'id': 'data.id'},
update: { $set: data},
upsert: true,
new: true
})
});



from this code i am able to store in mongodb but an unable display in local host can anybody help me

Aucun commentaire:

Enregistrer un commentaire