Skip to content
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

How can we get com.mongodb.client.MongoClient? #381

Open
kssahoo opened this issue Aug 16, 2021 · 2 comments
Open

How can we get com.mongodb.client.MongoClient? #381

kssahoo opened this issue Aug 16, 2021 · 2 comments

Comments

@kssahoo
Copy link

kssahoo commented Aug 16, 2021

com.mongodb.MongoClient = new Fongo(mongoURI).getMongo();
This was our old code.

Since now many methods are deprecated for com.mongodb.MongoClient, we are moving to com.mongodb.client.MongoClient.So, is there a way to get com.mongodb.client.MongoClient with Fongo now?

@BrunoJay
Copy link

BrunoJay commented Sep 8, 2022

Any updates on this ?

@prajktathakare
Copy link

prajktathakare commented Aug 22, 2024

Any updates on this? @fakemongo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants