... ます。これらはモデル Meta.constraints オプションで追加されます。 ExclusionConstraint ¶ class ExclusionConstraint ( * , name , expressions , index_type = None , condition = None , deferrable = None , include ... or が発生します。更新が既存の行と競合する場合も同様です。 排他制約は モデル バリデーション の間にチェックされます。 name ¶ ExclusionConstraint. name ¶ BaseConstraint.name を参照。 expressions ¶ ExclusionConstraint. expressions ¶ 2値タプルのイテラブル。最初の要素は式 ... "circle_ops" ), RangeOperators . OVERLAPS ), ] これは circle_ops を使用して circle 上に排他制約を作成します。 index_type ¶ ExclusionConstraint. index_type ¶ The index type of the constraint. Accepted values are GiST , Hash , or SPGiST . Matching is case insensitive ... ... ます。これらはモデル Meta.constraints オプションで追加されます。 ExclusionConstraint ¶ class ExclusionConstraint ( * , name , expressions , index_type = None , condition = None , deferrable = None , include ... or が発生します。更新が既存の行と競合する場合も同様です。 排他制約は モデル バリデーション の間にチェックされます。 name ¶ ExclusionConstraint. name ¶ BaseConstraint.name を参照。 expressions ¶ ExclusionConstraint. expressions ¶ 2値タプルのイテラブル。最初の要素は式 ... "circle_ops" ), RangeOperators . OVERLAPS ), ] これは circle_ops を使用して circle 上に排他制約を作成します。 index_type ¶ ExclusionConstraint. index_type ¶ The index type of the constraint. Accepted values are GiST , Hash , or SPGiST . Matching is case insensitive ... ... nchronous support as it evolves. See 非同期クエリ for details and limitations. 制約のバリデーション ¶ Check , unique , and exclusion constraints defined in the Meta.constraints option are now checked during model validation . Form rendering accessibility ¶ In order ... turns an int of the bitwise XOR of all non-null input values. SpGistIndex now supports covering indexes on PostgreSQL 14+. ExclusionConstraint now supports covering exclusion constraints using SP-GiST indexes on PostgreSQL 14+. The new default_bounds attribute of D ... ateTimeRangeField and DecimalRangeField allows specifying bounds for list and tuple inputs. ExclusionConstraint now allows specifying operator classes with the OpClass() expression. django.contrib.sitemaps ¶ The default sitemap index ... ... nchronous support as it evolves. See 非同期クエリ for details and limitations. 制約のバリデーション ¶ Check , unique , and exclusion constraints defined in the Meta.constraints option are now checked during model validation . Form rendering accessibility ¶ In order ... turns an int of the bitwise XOR of all non-null input values. SpGistIndex now supports covering indexes on PostgreSQL 14+. ExclusionConstraint now supports covering exclusion constraints using SP-GiST indexes on PostgreSQL 14+. The new default_bounds attribute of D ... ateTimeRangeField and DecimalRangeField allows specifying bounds for list and tuple inputs. ExclusionConstraint now allows specifying operator classes with the OpClass() expression. django.contrib.sitemaps ¶ The default sitemap index ... ... Field のメソッド) Concat (django.db.models.functions のクラス) concrete (Field の属性) condition (CheckConstraint の属性) (ExclusionConstraint の属性) (FilteredRelation の属性) (Index の属性) (UniqueConstraint の属性) condition() (django.views.decorators.http モジュ ... ュール) DefaultStorage (django.core.files.storage のクラス) defer() (django.db.models.query.QuerySet モジュール) deferrable (ExclusionConstraint の属性) (UniqueConstraint の属性) Degrees (django.db.models.functions のクラス) delete() (cache のメソッド) (Client のメソ ... bug のクラス) exclude (ModelAdmin の属性) (ModelFormOptions の属性) exclude() (django.db.models.query.QuerySet モジュール) ExclusionConstraint (django.contrib.postgres.constraints のクラス) execute() (BaseCommand のメソッド) (BaseDatabaseSchemaEditor のメソッド) ex ... ... rms for JSONField ( #32096 ). Fixed a regression in Django 3.1 that caused a migrations crash on PostgreSQL when adding an ExclusionConstraint with key transforms for JSONField in expressions ( #32096 ). Fixed a regression in Django 3.1 where ProtectedError.protect ... ... Field のメソッド) Concat (django.db.models.functions のクラス) concrete (Field の属性) condition (CheckConstraint の属性) (ExclusionConstraint の属性) (FilteredRelation の属性) (Index の属性) (UniqueConstraint の属性) condition() (django.views.decorators.http モジュ ... ュール) DefaultStorage (django.core.files.storage のクラス) defer() (django.db.models.query.QuerySet モジュール) deferrable (ExclusionConstraint の属性) (UniqueConstraint の属性) Degrees (django.db.models.functions のクラス) delete() (cache のメソッド) (Client のメソ ... bug のクラス) exclude (ModelAdmin の属性) (ModelFormOptions の属性) exclude() (django.db.models.query.QuerySet モジュール) ExclusionConstraint (django.contrib.postgres.constraints のクラス) execute() (BaseCommand のメソッド) (BaseDatabaseSchemaEditor のメソッド) ex ... ... rms for JSONField ( #32096 ). Fixed a regression in Django 3.1 that caused a migrations crash on PostgreSQL when adding an ExclusionConstraint with key transforms for JSONField in expressions ( #32096 ). Fixed a regression in Django 3.1 where ProtectedError.protect ... ... 理由はありません。 PostgreSQL 固有の集計関数 汎用的な集計関数 統計のための集計関数 使用例 PostgreSQL 固有のデータベース制約 ExclusionConstraint PostgreSQL 固有のクエリ式 ArraySubquery() 式 PostgreSQL 固有のモデルフィールド これらのフィールドにインデックスを付ける Ar ... ... rnationalized URLs were subject to potential denial of service attack via the locale parameter. バグ修正 ¶ Django 4.1 で、 ExclusionConstraint を持つモデルを追加する際に、PostgreSQL でマイグレーションがクラッシュするリグレッションが修正されました ( #33982 )。 Djang ... 2026年10月08日