Skip to content

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

@kssahoo

Description

@kssahoo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions