remove drop_dups index option, deprecated with MongoDB3

This commit is contained in:
Bastien Gérard
2020-03-17 21:38:50 +01:00
parent 15c3ddece8
commit ee2d50b2d1
6 changed files with 5 additions and 40 deletions

View File

@@ -555,7 +555,6 @@ There are a few top level defaults for all indexes that can be set::
'index_background': True,
'index_cls': False,
'auto_create_index': True,
'index_drop_dups': True,
}
@@ -574,11 +573,6 @@ There are a few top level defaults for all indexes that can be set::
in systems where indexes are managed separately. Disabling this will improve
performance.
:attr:`index_drop_dups` (Optional)
Set the default value for if an index should drop duplicates
Since MongoDB 3.0 drop_dups is not supported anymore. Raises a Warning
and has no effect
Compound Indexes and Indexing sub documents
-------------------------------------------