MongoEngine / mongoengine

A Python Object-Document-Mapper for working with MongoDB
http://mongoengine.org
MIT License
4.26k stars 1.23k forks source link

propagate collation, hint, comment to PyMongo functions #2843

Closed Winedays closed 2 months ago

Winedays commented 2 months ago

propagate collation, hint, comment settings to corresponding PyMongo functions in update, delete and aggregate

I have implemented a simple fix for issue #2842 , but I'm not sure how to write test case.

bagerard commented 2 months ago

I've added tests in https://github.com/MongoEngine/mongoengine/pull/2843 , this will be merged through the other MR