Merge pull request #134 from ArnoNuyts/patch-1

Fix importing into a mongo db
This commit is contained in:
Jan Prochazka 2021-06-17 07:33:04 +02:00 committed by GitHub
commit f7621ae336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ const Analyser = require('./Analyser');
const MongoClient = require('mongodb').MongoClient;
const ObjectId = require('mongodb').ObjectId;
const Cursor = require('mongodb').Cursor;
const { createBulkInsertStream } = require('./createBulkInsertStream');
const createBulkInsertStream = require('./createBulkInsertStream');
function readCursor(cursor, options) {
return new Promise((resolve) => {