@@ -60,6 +60,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
60
60
"db_functions.comparison.test_coalesce.CoalesceTests.test_mixed_values" ,
61
61
# $and must be an array
62
62
"db_functions.tests.FunctionTests.test_function_as_filter" ,
63
+ # pk__in=queryset doesn't work because subqueries aren't a thing in
64
+ # MongoDB.
65
+ "annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_in_subquery" ,
63
66
}
64
67
65
68
django_test_skips = {
@@ -163,9 +166,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
163
166
"lookup.tests.LookupTests.test_exact_exists" ,
164
167
"lookup.tests.LookupTests.test_nested_outerref_lhs" ,
165
168
"lookup.tests.LookupQueryingTests.test_filter_exists_lhs" ,
166
- # QuerySet.alias() doesn't work.
167
- "annotations.tests.AliasTests.test_basic_alias_f_transform_annotation" ,
168
- "annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_in_subquery" ,
169
+ # QuerySet.alias(greater=GreaterThan(F("year"), 1910)).filter(greater=True)
170
+ # generates incorrect an incorrect query:
171
+ # {'$expr': {'$eq': [{'year': {'$gt': 1910}}, True]}}}
169
172
"lookup.tests.LookupQueryingTests.test_alias" ,
170
173
# annotate() with combined expressions doesn't work:
171
174
# 'WhereNode' object has no attribute 'field'
0 commit comments