Frequently Asked Questions Is PyMongo thread-safe? Is PyMongo fork-safe? How does connection pooling work in PyMongo? Does PyMongo support Python 3? Does PyMongo support asynch...
Python 3 FAQ What Python 3 versions are supported? Are there any PyMongo behavior changes with Python 3? Why can’t I share pickled ObjectIds between some versions of Python 2 and...
driver_info driver_info Advanced options for MongoDB drivers implemented on top of PyMongo. class pymongo.driver_info.DriverInfo (name=None, version=None, platform=None) Inf...
Collations Usage Collation Parameters: Assign a Default Collation to a Collection Assign a Default Collation to an Index Specify a Collation for a Query Other Query Types ...
Collations Usage Collation Parameters: Assign a Default Collation to a Collection Assign a Default Collation to an Index Specify a Collation for a Query Other Query Types ...
Tools ORM-like Layers No longer maintained Framework Tools Alternative Drivers Table of Contents Previous topic Next topic This Page Quick search Tools Many tools have...
Gevent Avoid blocking in Hub.join Gevent PyMongo supports Gevent . Simply call Gevent’s monkey.patch_all() before loading any other modules: >>> # You must call patch_all()...
Tutorial Prerequisites Making a Connection with MongoClient Getting a Database Getting a Collection Documents Inserting a Document Getting a Single Document With find_one() ...