|
@ -79,18 +79,13 @@ MongoClient.connect(mongourl, function(err, database) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dbName.collection("devel_log").find({}, function(err, docs) { |
|
|
dbName.collection("devel_log").find({}, function(err, docs) { |
|
|
|
|
|
|
|
|
docs.each(function(err, doc) { |
|
|
docs.each(function(err, doc) { |
|
|
if(doc) { |
|
|
if(doc) { |
|
|
console.log(doc); |
|
|
console.log(doc); |
|
|
} |
|
|
} else { |
|
|
else { |
|
|
console.log('error'); |
|
|
res.end(); |
|
|
|
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|