From 38263de9f134dde8bea5d989b606a58a40518187 Mon Sep 17 00:00:00 2001 From: ArnoNuyts Date: Wed, 16 Jun 2021 12:04:33 +0200 Subject: [PATCH] Update driver.js Fix issue where createBulkInsertStream isn't found --- plugins/dbgate-plugin-mongo/src/backend/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dbgate-plugin-mongo/src/backend/driver.js b/plugins/dbgate-plugin-mongo/src/backend/driver.js index 81d88559..2c9a703b 100644 --- a/plugins/dbgate-plugin-mongo/src/backend/driver.js +++ b/plugins/dbgate-plugin-mongo/src/backend/driver.js @@ -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) => {