Details
-
New Feature
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
None
Description
Modify collection.Collection.create_index - implementation should look something like this:
try:
|
self.__database.command('createIndexes', ...)
|
except OperationFailure, exc:
|
if exc.code in (59, Null):
|
<fallback to existing code for backward compatibility>
|
else:
|
raise
|
Attachments
Issue Links
- is depended on by
-
DRIVERS-132 Use createIndexes command when available
-
- Closed
-