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