@@ -62,6 +62,14 @@ class DatabaseFeatures(BaseDatabaseFeatures):
62
62
"db_functions.math.test_log.LogTests.test_decimal" ,
63
63
# MongoDB gives ROUND(365, -1)=360 instead of 370 like other databases.
64
64
"db_functions.math.test_round.RoundTests.test_integer_with_negative_precision" ,
65
+ # Cast is not supported
66
+ "model_fields.test_jsonfield.TestQuerying.test_key_transform_expression" ,
67
+ "model_fields.test_jsonfield.TestQuerying.test_key_transform_annotation_expression" ,
68
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_annotation_expression" ,
69
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_expression" ,
70
+ # Nand does not exist in Mongo.
71
+ "model_fields.test_jsonfield.TestQuerying.test_lookup_exclude" ,
72
+ "model_fields.test_jsonfield.TestQuerying.test_lookup_exclude_nonexistent_key" ,
65
73
}
66
74
67
75
django_test_skips = {
@@ -172,6 +180,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
172
180
# Subquery not supported.
173
181
"annotations.tests.NonAggregateAnnotationTestCase.test_empty_queryset_annotation" ,
174
182
"lookup.tests.LookupQueryingTests.test_filter_subquery_lhs" ,
183
+ "model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery" ,
175
184
# ExpressionWrapper not supported.
176
185
"annotations.tests.NonAggregateAnnotationTestCase.test_combined_expression_annotation_with_aggregation" ,
177
186
"annotations.tests.NonAggregateAnnotationTestCase.test_combined_f_expression_annotation_with_aggregation" ,
@@ -206,6 +215,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
206
215
"annotations.tests.AliasTests.test_order_by_alias" ,
207
216
"annotations.tests.NonAggregateAnnotationTestCase.test_order_by_aggregate" ,
208
217
"annotations.tests.NonAggregateAnnotationTestCase.test_order_by_annotation" ,
218
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_on_subquery" ,
219
+ "model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_count" ,
220
+ "model_fields.test_jsonfield.TestQuerying.test_obj_subquery_lookup" ,
209
221
},
210
222
"Count doesn't work in QuerySet.annotate()" : {
211
223
"annotations.tests.AliasTests.test_alias_annotate_with_aggregation" ,
@@ -279,6 +291,10 @@ class DatabaseFeatures(BaseDatabaseFeatures):
279
291
"update.tests.SimpleTest.test_empty_update_with_inheritance" ,
280
292
"update.tests.SimpleTest.test_foreign_key_update_with_id" ,
281
293
"update.tests.SimpleTest.test_nonempty_update_with_inheritance" ,
294
+ "model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_key_transform" ,
295
+ "model_fields.test_jsonfield.TestQuerying.test_ordering_by_transform" ,
296
+ "model_fields.test_jsonfield.TestQuerying.test_order_grouping_custom_decoder" ,
297
+ "model_fields.test_jsonfield.TestQuerying.test_join_key_transform_annotation_expression" ,
282
298
},
283
299
"Test inspects query for SQL" : {
284
300
"lookup.tests.LookupTests.test_in_ignore_none" ,
@@ -293,6 +309,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
293
309
"timezones.tests.NewDatabaseTests.test_cursor_execute_returns_naive_datetime" ,
294
310
"timezones.tests.NewDatabaseTests.test_cursor_explicit_time_zone" ,
295
311
"timezones.tests.NewDatabaseTests.test_raw_sql" ,
312
+ "model_fields.test_jsonfield.TestQuerying.test_key_transform_raw_expression" ,
313
+ "model_fields.test_jsonfield.TestQuerying.test_key_sql_injection_escape" ,
314
+ "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_raw_expression" ,
296
315
},
297
316
"BSON Date type doesn't support microsecond precision." : {
298
317
"basic.tests.ModelRefreshTests.test_refresh_unsaved" ,
@@ -334,6 +353,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
334
353
"Mongodb's Null behaviour is different from sql's" : {
335
354
"model_fields.test_jsonfield.TestQuerying.test_none_key_and_exact_lookup" ,
336
355
# "model_fields.test_jsonfield.TestQuerying.test_isnull_key",
356
+ "model_fields.test_jsonfield.TestSaveLoad.test_json_null_different_from_sql_null" ,
357
+ "model_fields.test_jsonfield.TestQuerying.test_none_key" ,
337
358
},
338
359
"Pipeline filtering" : {"model_fields.test_jsonfield.TestQuerying.test_icontains" },
339
360
}
0 commit comments