Commit Graph

12 Commits

Author SHA1 Message Date
Bernie Hackett
507f954ed4 Update copyright dates 2017-12-01 17:23:39 -08:00
Shane Harvey
14ce90906c PYTHON-1296 Support array_filters updates.
Sync crud tests.
2017-09-08 12:23:40 -07:00
Shane Harvey
8eb1aefeff PYTHON-1336 Add collation support to Collection.bulk_write. 2017-08-03 15:21:04 -07:00
Shane Harvey
9468c119a3 PYTHON-1335 Improve __slots__ usage.
__slots__ must be defined in all classes in the hierarchy to avoid __dict__
and __weakref__ overhead.
2017-08-03 14:57:43 -07:00
Luke Lovett
73770db06f Link to createIndexes command from create_indexes documentation.
Fix markup for Collation class in IndexModel documentation.
2017-03-09 16:25:31 -08:00
Luke Lovett
8fdb581c6a PYTHON-1113 - Support collation per operation.
This commit add the pymongo.collation.Collation class and associated enums.  A
collation may be sent with individual write operations when connected to MongoDB
3.4+. Unlike read and write concern, a collation may not be attached to a
database or collection instance.
2016-09-07 13:45:41 -07:00
Hannes Magnusson
bcf0d57df3 PYTHON-990: Fix argument name in notes 2015-11-18 14:12:28 -08:00
aherlihy
9364abe46a PYTHON-990 - Support partial indexes 2015-11-18 14:12:28 -08:00
Jonatan Samoocha
8fd0da832a Corrected return value for comparison of different types 2015-07-08 15:10:25 -07:00
Jonatan Samoocha
3847d14cd9 Added rich comparison methods to _WriteOp superclass 2015-07-08 15:10:25 -07:00
Bernie Hackett
9c4d01701b PYTHON-861 - Implement create_indexes. 2015-03-16 07:56:46 -07:00
Bernie Hackett
d69f76d380 Finalize option locations and exports.
- Move ReturnDocument to pymongo.collection.
- Change ReturnDocument.Before to ReturnDocument.BEFORE
- Change ReturnDocument.After to ReturnDocument.AFTER
- Add pymongo.cursor.CursorType.
- Move pymongo.cursor.NON_TAILABLE and friends to attributes of CursorType.
- read_preferences.ReadPreference is once again an "enum".
- Fix docs for read_preferences.ReadPreference.
- Rename pymongo.options to pymongo.operations.
- Export CursorType, ReturnDocument, WriteConcern, and public classes
  from pymongo.opertions through pymongo/__init__.py
- Fix up a number of documentation issues in the process.
2015-03-05 11:35:46 -08:00