... に排他制約を作成します。内部的には、PostgreSQLはインデックスを使用して排他制約を実装しています。デフォルトのインデックス型は GiST です。インデックスを使用するには、PostgreSQLで btree_gist extension を有効にする必要があります。 BtreeGistExtension マイグ ... 排他制約を作成します。 index_type ¶ ExclusionConstraint. index_type ¶ The index type of the constraint. Accepted values are GiST , Hash , or SPGiST . Matching is case insensitive. If not provided, the default index type is GIST . Changed in Django 6.1 ... ィールドのみでフィルタリングする ( expressions ) クエリにインデックスのみのスキャンを使用できます。 include is supported for GiST and SP-GiST indexes. violation_error_code ¶ ExclusionConstraint. violation_error_code ¶ モデルのバリデーション 中に Valida ... ... に排他制約を作成します。内部的には、PostgreSQLはインデックスを使用して排他制約を実装しています。デフォルトのインデックス型は GiST です。インデックスを使用するには、PostgreSQLで btree_gist extension を有効にする必要があります。 BtreeGistExtension マイグ ... 排他制約を作成します。 index_type ¶ ExclusionConstraint. index_type ¶ The index type of the constraint. Accepted values are GiST , Hash , or SPGiST . Matching is case insensitive. If not provided, the default index type is GIST . Changed in Django 6.1 ... ィールドのみでフィルタリングする ( expressions ) クエリにインデックスのみのスキャンを使用できます。 include is supported for GiST and SP-GiST indexes. violation_error_code ¶ ExclusionConstraint. violation_error_code ¶ モデルのバリデーション 中に Valida ... ... 合に使用される GIN 保留リストの最大サイズを調整するには、 gin_pending_list_limit パラメータに整数キロバイト数を指定します。 GistIndex ¶ class GistIndex ( * expressions , buffering = None , fillfactor = None , ** options ) [ソース] ¶ GiSTインデックス を ... された空間フィールドに自動的に作成されます。これらは、 HStoreField や 範囲フィールド など他のタイプでも有用です。 組み込みの gist 演算子クラス 以外のデータ型でこのインデックスを使用するには、 PostgreSQL で btree_gist 拡張 を有効にする必要があります。こ ... れをインストールするには BtreeGistExtension というマイグレーションオペレーションを使用します。 インデックスの buffering build を手動で有効または無効にするには ... ... 合に使用される GIN 保留リストの最大サイズを調整するには、 gin_pending_list_limit パラメータに整数キロバイト数を指定します。 GistIndex ¶ class GistIndex ( * expressions , buffering = None , fillfactor = None , ** options ) [ソース] ¶ GiSTインデックス を ... された空間フィールドに自動的に作成されます。これらは、 HStoreField や 範囲フィールド など他のタイプでも有用です。 組み込みの gist 演算子クラス 以外のデータ型でこのインデックスを使用するには、 PostgreSQL で btree_gist 拡張 を有効にする必要があります。こ ... れをインストールするには BtreeGistExtension というマイグレーションオペレーションを使用します。 インデックスの buffering build を手動で有効または無効にするには ... ... ation. django.contrib.postgres.indexes.GinIndex now supports the fastupdate and gin_pending_list_limit parameters. The new GistIndex class allows creating GiST indexes in the database. The new BtreeGistExtension migration operation installs the btree ... _gist extension to add support for operator classes that aren't built-in. inspectdb can now introspect JSONField and various Ran ... in from django.contrib.auth.models import User class MyUserAdmin ( UserAdmin ): form = MyUserChangeForm admin . site . unregister ( User ) admin . site . register ( User , MyUserAdmin ) スライス後の QuerySet.reverse() および last() の禁止 ¶ Calling Q ... ... ation. django.contrib.postgres.indexes.GinIndex now supports the fastupdate and gin_pending_list_limit parameters. The new GistIndex class allows creating GiST indexes in the database. The new BtreeGistExtension migration operation installs the btree ... _gist extension to add support for operator classes that aren't built-in. inspectdb can now introspect JSONField and various Ran ... in from django.contrib.auth.models import User class MyUserAdmin ( UserAdmin ): form = MyUserChangeForm admin . site . unregister ( User ) admin . site . register ( User , MyUserAdmin ) スライス後の QuerySet.reverse() および last() の禁止 ¶ Calling Q ... ... l be passed as **hints to the allow_migrate() method of database routers to assist them in making routing decisions . BtreeGistExtension ¶ class BtreeGistExtension ( hints = None ) [ソース] ¶ btree_gist 拡張機能をインストールします。 hints ¶ New in D ... レーション・オペレーション マイグレーションを使って拡張機能を作成する CreateExtension BloomExtension BtreeGinExtension BtreeGistExtension CITextExtension CryptoExtension HStoreExtension TrigramExtension UnaccentExtension マイグレーションを使って照合順 ... ... gument for ArrayAgg and StringAgg determines the ordering of the aggregated elements. The new BTreeIndex , HashIndex and SpGistIndex classes allow creating B-Tree , hash , and SP-GiST indexes in the database. BrinIndex now has the autosummarize param ... rints the list of migration operations that will be performed. NoneType can now be serialized in migrations. You can now register custom serializers for migrations. モデル ¶ Added support for PostgreSQL operator classes ( Index.opclasses ). Added sup ... nges in 2.2 データベースバックエンド API Admin actions are no longer collected from base ModelAdmin classes django.contrib.gis TransactionTestCase serialized data loading sqlparse is required dependency cached_property aliases Permissions for proxy m ... ... l be passed as **hints to the allow_migrate() method of database routers to assist them in making routing decisions . BtreeGistExtension ¶ class BtreeGistExtension ( hints = None ) [ソース] ¶ btree_gist 拡張機能をインストールします。 hints ¶ New in D ... レーション・オペレーション マイグレーションを使って拡張機能を作成する CreateExtension BloomExtension BtreeGinExtension BtreeGistExtension CITextExtension CryptoExtension HStoreExtension TrigramExtension UnaccentExtension マイグレーションを使って照合順 ... ... gument for ArrayAgg and StringAgg determines the ordering of the aggregated elements. The new BTreeIndex , HashIndex and SpGistIndex classes allow creating B-Tree , hash , and SP-GiST indexes in the database. BrinIndex now has the autosummarize param ... rints the list of migration operations that will be performed. NoneType can now be serialized in migrations. You can now register custom serializers for migrations. モデル ¶ Added support for PostgreSQL operator classes ( Index.opclasses ). Added sup ... nges in 2.2 データベースバックエンド API Admin actions are no longer collected from base ModelAdmin classes django.contrib.gis TransactionTestCase serialized data loading sqlparse is required dependency cached_property aliases Permissions for proxy m ... 2026年10月08日