Criteria object needs to be updated for use with pymongo 3
Criteria object is used to pass query parameters to various mongoengine managers. Here is just one example. Pymongo 3 stopped using the parameter 'fields' and replaced it with 'projection'. We need to update criteria object and it's use to make sure it is in compliance with pymongo 3.
#3 Updated by firstname.lastname@example.org almost 5 years ago
Here is the relevant migration guide from pymongo: http://api.mongodb.org/python/current/migrate-to-pymongo3.html#fields-renamed-projection
#4 Updated by pcreech almost 5 years ago
- Status changed from NEW to MODIFIED
- Assignee set to pcreech
This appears to be resolved with the pull request .
All underlying queries have been converted to using 'projection' instead of 'fields'
The criteria object's fields have been left alone to maintain api compatibility
Please register to edit this issue