4
4
5
5
class DatabaseFeatures (BaseDatabaseFeatures ):
6
6
allow_sliced_subqueries_with_in = False
7
+ can_introspect_foreign_keys = False
7
8
greatest_least_ignores_nulls = True
8
9
has_json_object_function = False
9
10
has_native_json_field = True
@@ -72,6 +73,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
72
73
"many_to_one.tests.ManyToOneTests.test_selects" ,
73
74
# Incorrect JOIN with GenericRelation gives incorrect results.
74
75
"aggregation_regress.tests.AggregationTests.test_aggregation_with_generic_reverse_relation" ,
76
+ # Table names should be sorted.
77
+ "introspection.tests.IntrospectionTests.test_table_names" ,
75
78
}
76
79
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
77
80
_django_test_expected_failures_bitwise = {
@@ -127,6 +130,7 @@ def django_test_expected_failures(self):
127
130
},
128
131
"AutoField not supported." : {
129
132
"bulk_create.tests.BulkCreateTests.test_bulk_insert_nullable_fields" ,
133
+ "introspection.tests.IntrospectionTests.test_sequence_list" ,
130
134
"lookup.tests.LookupTests.test_filter_by_reverse_related_field_transform" ,
131
135
"lookup.tests.LookupTests.test_in_ignore_none_with_unhashable_items" ,
132
136
"m2m_through_regress.tests.ThroughLoadDataTestCase.test_sequence_creation" ,
@@ -497,6 +501,21 @@ def django_test_expected_failures(self):
497
501
"db_functions.comparison.test_cast.CastTests.test_cast_from_python_to_datetime" ,
498
502
"db_functions.comparison.test_cast.CastTests.test_cast_to_duration" ,
499
503
},
504
+ "DatabaseIntrospection.get_table_description() not supported." : {
505
+ "introspection.tests.IntrospectionTests.test_bigautofield" ,
506
+ "introspection.tests.IntrospectionTests.test_get_table_description_col_lengths" ,
507
+ "introspection.tests.IntrospectionTests.test_get_table_description_names" ,
508
+ "introspection.tests.IntrospectionTests.test_get_table_description_nullable" ,
509
+ "introspection.tests.IntrospectionTests.test_get_table_description_types" ,
510
+ "introspection.tests.IntrospectionTests.test_smallautofield" ,
511
+ },
512
+ "DatabaseIntrospection.get_constraints() not implemented." : {
513
+ "introspection.tests.IntrospectionTests.test_get_constraints" ,
514
+ "introspection.tests.IntrospectionTests.test_get_constraints_index_types" ,
515
+ "introspection.tests.IntrospectionTests.test_get_constraints_indexes_orders" ,
516
+ "introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders" ,
517
+ "introspection.tests.IntrospectionTests.test_get_primary_key_column" ,
518
+ },
500
519
"Known issue querying JSONField." : {
501
520
# An ExpressionWrapper annotation with KeyTransform followed by
502
521
# .filter(expr__isnull=False) doesn't use KeyTransformIsNull as it
@@ -522,6 +541,9 @@ def django_test_expected_failures(self):
522
541
"Test not applicable for MongoDB's SQLCompiler." : {
523
542
"queries.test_iterator.QuerySetIteratorTests" ,
524
543
},
544
+ "Support for views not implemented." : {
545
+ "introspection.tests.IntrospectionTests.test_table_names_with_views" ,
546
+ },
525
547
}
526
548
527
549
@cached_property
0 commit comments