Browse Source

getlog

master
zeus 4 years ago
parent
commit
ece586bd1b
  1. 4
      swarmlab-app/src/run/app.js

4
swarmlab-app/src/run/app.js

@ -334,7 +334,7 @@ db.collection('logs').find({}, {})
/*
const find = async () => {
try {
var stream = await db.collection('logs').find({}, {})
@ -349,7 +349,7 @@ const find = async () => {
}
await find()
*/
//stream.on('data', function (doc) {
// console.log(JSON.stringify(doc))

Loading…
Cancel
Save