mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed DatabaseFeatures.supports_primitives_in_json_field on Oracle 21c+.
This commit is contained in:
parent
e69a9920e2
commit
59f13ce545
@ -76,7 +76,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||||||
allows_multiple_constraints_on_same_fields = False
|
allows_multiple_constraints_on_same_fields = False
|
||||||
supports_boolean_expr_in_select_clause = False
|
supports_boolean_expr_in_select_clause = False
|
||||||
supports_comparing_boolean_expr = False
|
supports_comparing_boolean_expr = False
|
||||||
supports_primitives_in_json_field = False
|
|
||||||
supports_json_field_contains = False
|
supports_json_field_contains = False
|
||||||
supports_collation_on_textfield = False
|
supports_collation_on_textfield = False
|
||||||
test_collations = {
|
test_collations = {
|
||||||
@ -157,3 +156,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||||||
return False
|
return False
|
||||||
raise
|
raise
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@cached_property
|
||||||
|
def supports_primitives_in_json_field(self):
|
||||||
|
return self.connection.oracle_version >= (21,)
|
||||||
|
Loading…
Reference in New Issue
Block a user