diff options
author | Tim Graham <timograham@gmail.com> | 2020-07-30 00:38:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 06:38:02 +0200 |
commit | 184a6eebb0ef56d5f1b1315a8e666830e37f3f81 (patch) | |
tree | 6ee65b2b0f36a66120947a83890a624b28a52257 /django/db/backends/postgresql/features.py | |
parent | eb215da363e6cf0e8f3405db3c4392398c8777cb (diff) | |
download | django-184a6eebb0ef56d5f1b1315a8e666830e37f3f81.tar.gz |
Refs #31829 -- Added DatabaseFeatures.json_key_contains_list_matching_requires_list.
CockroachDB's behavior matches PostgreSQL.
Diffstat (limited to 'django/db/backends/postgresql/features.py')
-rw-r--r-- | django/db/backends/postgresql/features.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/features.py b/django/db/backends/postgresql/features.py index 864bcf3919..df16691444 100644 --- a/django/db/backends/postgresql/features.py +++ b/django/db/backends/postgresql/features.py @@ -57,6 +57,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): validates_explain_options = False # A query will error on invalid options. supports_deferrable_unique_constraints = True has_json_operators = True + json_key_contains_list_matching_requires_list = True @cached_property def introspected_field_types(self): |