@@ -56,6 +56,14 @@ class DatabaseFeatures(BaseDatabaseFeatures):
56
56
"lookup.tests.LookupTests.test_pattern_lookups_with_substr" ,
57
57
# Querying ObjectID with string doesn't work.
58
58
"lookup.tests.LookupTests.test_lookup_int_as_str" ,
59
+ # Cast is not supported
60
+ "model_fields.test_jsonfield.TestQuerying.test_key_transform_expression" ,
61
+ "model_fields.test_jsonfield.TestQuerying.test_key_transform_annotation_expression" ,
62
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_annotation_expression" ,
63
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_expression" ,
64
+ # Nand does not exist in Mongo.
65
+ "model_fields.test_jsonfield.TestQuerying.test_lookup_exclude" ,
66
+ "model_fields.test_jsonfield.TestQuerying.test_lookup_exclude_nonexistent_key" ,
59
67
}
60
68
61
69
django_test_skips = {
@@ -163,6 +171,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
163
171
# Subquery not supported.
164
172
"annotations.tests.NonAggregateAnnotationTestCase.test_empty_queryset_annotation" ,
165
173
"lookup.tests.LookupQueryingTests.test_filter_subquery_lhs" ,
174
+ "model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery" ,
166
175
# ExpressionWrapper not supported.
167
176
"annotations.tests.NonAggregateAnnotationTestCase.test_combined_expression_annotation_with_aggregation" ,
168
177
"annotations.tests.NonAggregateAnnotationTestCase.test_combined_f_expression_annotation_with_aggregation" ,
@@ -197,6 +206,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
197
206
"annotations.tests.AliasTests.test_order_by_alias" ,
198
207
"annotations.tests.NonAggregateAnnotationTestCase.test_order_by_aggregate" ,
199
208
"annotations.tests.NonAggregateAnnotationTestCase.test_order_by_annotation" ,
209
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_on_subquery" ,
210
+ "model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_count" ,
211
+ "model_fields.test_jsonfield.TestQuerying.test_obj_subquery_lookup" ,
200
212
},
201
213
"Count doesn't work in QuerySet.annotate()" : {
202
214
"annotations.tests.AliasTests.test_alias_annotate_with_aggregation" ,
@@ -270,6 +282,10 @@ class DatabaseFeatures(BaseDatabaseFeatures):
270
282
"update.tests.SimpleTest.test_empty_update_with_inheritance" ,
271
283
"update.tests.SimpleTest.test_foreign_key_update_with_id" ,
272
284
"update.tests.SimpleTest.test_nonempty_update_with_inheritance" ,
285
+ "model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_key_transform" ,
286
+ "model_fields.test_jsonfield.TestQuerying.test_ordering_by_transform" ,
287
+ "model_fields.test_jsonfield.TestQuerying.test_order_grouping_custom_decoder" ,
288
+ "model_fields.test_jsonfield.TestQuerying.test_join_key_transform_annotation_expression" ,
273
289
},
274
290
"Test inspects query for SQL" : {
275
291
"lookup.tests.LookupTests.test_in_ignore_none" ,
@@ -284,6 +300,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
284
300
"timezones.tests.NewDatabaseTests.test_cursor_execute_returns_aware_datetime" ,
285
301
"timezones.tests.NewDatabaseTests.test_cursor_explicit_time_zone" ,
286
302
"timezones.tests.NewDatabaseTests.test_raw_sql" ,
303
+ "model_fields.test_jsonfield.TestQuerying.test_key_transform_raw_expression" ,
304
+ "model_fields.test_jsonfield.TestQuerying.test_key_sql_injection_escape" ,
305
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_raw_expression" ,
287
306
},
288
307
"BSON Date type doesn't support microsecond precision." : {
289
308
"basic.tests.ModelRefreshTests.test_refresh_unsaved" ,
@@ -301,6 +320,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
301
320
"Mongodb's Null behaviour is different from sql's" : {
302
321
"model_fields.test_jsonfield.TestQuerying.test_none_key_and_exact_lookup" ,
303
322
# "model_fields.test_jsonfield.TestQuerying.test_isnull_key",
323
+ "model_fields.test_jsonfield.TestSaveLoad.test_json_null_different_from_sql_null" ,
324
+ "model_fields.test_jsonfield.TestQuerying.test_none_key" ,
304
325
},
305
326
"Pipeline filtering" : {"model_fields.test_jsonfield.TestQuerying.test_icontains" },
306
327
}
0 commit comments