-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for MongoDB 4 #18
Comments
I've been releasing v1.0.0 of this package. Glad to see your feedback on this package. Thanks. |
Thanks a lot for this, I just had a look at the changes you made and I noticed two things that seem to be not inline with Mongodb 4 changes. From what I understand,
if (!client.isConnected || !client.isConnected()) {
await client.connect();
} Also on line 118, you are setting |
Don't worry, I just want to give support for the older and newer version of mongodb sdk.
Damn, I missed it up. Ok, I'll publish a new version to fix this problem. |
Hi, is it possible to get this package updated so that it can be used with the latest version of MongoDB?
Currently it will break because
client.isConnected()
is no longer a thing in version 4. (Details here)The changelog mentions
The text was updated successfully, but these errors were encountered: