... 2, 'requirements': [ {'parking': False, 'sea_view': True, 'double_bed': False}, {'parking': True, 'double_bed': True} ]}]> StringAgg class StringAgg ( expression , delimiter , distinct = False , filter = None , default = None , order_by = () ) バージョン ... 6.0 で非推奨: The PostgreSQL StringAgg class is deprecated in favor of the generally available StringAgg class. 入力値を文字列に連結し、 delimiter 文字列で区切っ ... create ( title = "Science News" ) <Publication: Publication object (2)> >>> from django.contrib.postgres.aggregates import StringAgg >>> Article . objects . annotate ( ... publication_names = StringAgg ( ... "publications__title" , ... delimiter = ", " , ... ... ... ... 属性が最長の選択に合致するようなチェックを修正しました ( #31155 )。 Subquery を利用した際、 filter 引数のある ArrayAgg と StringAgg がクラッシュする Django 2.2 のリグレッションを修正しました ( #31097 )。 継承された選択をオーバーライドしたときに get_FOO_d ... ... ow_order_by class attribute determines whether the aggregate function allows passing an order_by keyword argument. The new StringAgg aggregate returns the input values concatenated into a string, separated by the delimiter string. This aggregate was previ ... その他 BaseDatabaseCreation.create_test_db(serialize) is deprecated. Use serialize_db_to_string() instead. The PostgreSQL StringAgg class is deprecated in favor of the generally available StringAgg class. Passing a string to the delimiter argument of the ... (deprecated) PostgreSQL StringAgg class is deprecated. Use a Value or expression instead to prepare for compatibility with the generally available StringAgg ... ... ere auto-reloader doesn't detect changes in manage.py file when using StatReloader ( #30479 ). Fixed crash of ArrayAgg and StringAgg with ordering argument when used in a Subquery ( #30315 ). Fixed a regression in Django 2.2 that caused a crash of auto-re ... ... only models.JSONField values in the admin ( #32080 ). Fixed a regression in Django 3.1 that caused a crash of ArrayAgg and StringAgg with ordering on key transforms for JSONField ( #32096 ). Fixed a regression in Django 3.1 that caused a crash of __in loo ... ... sh when loading the template for the technical 500 debug page ( #30324 ). Fixed crash of ordering argument in ArrayAgg and StringAgg when it contains an expression with params ( #30332 ). Fixed a regression in Django 2.2 that caused a single instance fast ... ... した際にクラッシュが発生するリグレッションを修正しました( #36404 )。 Django 5.2 において、PostgreSQL の集約関数 ArrayAgg , StringAgg および JSONBAgg 内で OuterRef を使用した際にクラッシュが発生するリグレッションを修正しました( #36405 )。 Django 5.2 にお ... ... stored columns ( db_persist set to True ) on Oracle 23ai/26ai (23.7+). The m2m_changed signal now receives a raw argument. StringAgg now supports distinct=True on SQLite when using the default delimiter Value(",") only. The new QuerySet.totally_ordered pr ... ontrib.postgres.aggregates.ArrayAgg , django.contrib.postgres.aggregates.JSONBAgg , and django.contrib.postgres.aggregates.StringAgg are removed in favor of the order_by parameter. Support for subclasses of RemoteUserMiddleware that override process_reque ... 2026年10月08日