mongodb will use an index that begins with _types to service queries against _types, so the extra index is only needed if no other fields are indexed in the document. to be safe, we explicitly check all indexes to see if any begins with _types, and only then prevent creation of the additional index on _types. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| dereference.py | ||
| django_tests.py | ||
| document.py | ||
| fields.py | ||
| fixtures.py | ||
| queryset.py | ||
| signals.py | ||