We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5229b commit d40c24aCopy full SHA for d40c24a
django_mongodb_backend/indexes.py
@@ -54,7 +54,7 @@ def get_pymongo_index_model(self, model, schema_editor, field=None, unique=False
54
compiler = query.get_compiler(connection=schema_editor.connection)
55
for expression in self.expressions:
56
field_ = expression.resolve_expression(query)
57
- column = field_.as_mql(compiler, schema_editor.connection, as_path=True)
+ column = field_.as_mql(compiler, schema_editor.connection)
58
db_type = (
59
field_.expression.db_type(schema_editor.connection)
60
if isinstance(field_, OrderBy)
0 commit comments