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 a78036f commit c7de5fbCopy full SHA for c7de5fb
django_mongodb/base.py
@@ -131,6 +131,8 @@ def _isnull_operator(a, b):
131
# Operators like $exists: False, $ne, and $nor cannot be used in partial indexes.
132
# So, indexes on null values (isnull=True|False) can't be implemented.
133
"isnull": lambda a, b: {}, # noqa: ARG005
134
+ # Partial indexes do not support the $regex expression.
135
+ "contains": lambda a, b: {}, # noqa: ARG005
136
}
137
138
display_name = "MongoDB"
0 commit comments