mirror of
https://github.com/django/django.git
synced 2025-08-08 12:58:37 +00:00
Refs #26327 -- Renamed JsonAgg to JSONBAgg.
Thanks to Christian von Roques for the report.
This commit is contained in:
parent
6252fd6314
commit
aa2cb4c622
5 changed files with 16 additions and 12 deletions
|
@ -40,3 +40,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
@cached_property
|
||||
def has_jsonb_datatype(self):
|
||||
return self.connection.pg_version >= 90400
|
||||
|
||||
@cached_property
|
||||
def has_jsonb_agg(self):
|
||||
return self.connection.pg_version >= 90500
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue