I am trying to connect mongodb using pymongo. I see two classes to connect to mongodb.
MongoClient and Connection.
What is the difference
Connection has been deprecated. All of the official MongoDB drivers have a new behavior using safe mode on true (No fire-and-forget).
MongoClient must be used instead of Connection.
UPDATE: All new features and changes will be made on MongoClient, not on Connection.