Update driver.js

Fix issue where createBulkInsertStream isn't found
This commit is contained in:
ArnoNuyts 2021-06-16 12:04:33 +02:00 committed by GitHub
parent 260e3c50df
commit 38263de9f1
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) => {