db-migrate / mongodb

mongodb driver for db-migrate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not support mongoDB 6^ version, stuck because of this package

amitksh3 opened this issue · comments

Hi,
This package is not supporting latest mongoDB version 6^, We are using this package for migration, now we are upgrading our application mongodb version to 6^, this package is creating problem , we are stuck because this package not supporting latest mongodb driver version 6^.

below code needs to be corrected

db = config.db || new MongoClient(new Server(host, port)); in index.js file, because new Server() is not supported in latest mongodb driver.