Closed ramnes closed 4 years ago
http://api.mongodb.com/python/current/changelog.html#changes-in-version-3-5
Things that are modified in the pymongo-latest branch:
pymongo-latest
get_database
get_default_database
max_time_ms
Collection.count_documents
Cursor.count
insert_one
replace_one
delete_one
insert
update
remove
Fixed on PyMongo 3.5.0: https://github.com/mongodb/mongo-python-driver/commit/7b1cbace17348b71f49277d0edba7615b2da41d7
We made a branch called pymongo-latest which uses pymongo 3.7 and get rid of this logic.
http://api.mongodb.com/python/current/changelog.html#changes-in-version-3-5
Things that are modified in the
pymongo-latest
branch:get_database
rather thanget_default_database
max_time_ms
: https://github.com/numberly/mongo-thingy/blob/44e54fb306c4d8f6c26bc420dfe34c06f4a60ebf/mongo_thingy/__init__.py#L114-L115Collection.count_documents
instead ofCursor.count
insert_one
,replace_one
anddelete_one
instead ofinsert
,update
andremove
Fixed on PyMongo 3.5.0: https://github.com/mongodb/mongo-python-driver/commit/7b1cbace17348b71f49277d0edba7615b2da41d7