... ージがどれだけ詰め込まれるかを調整するために、10 から 100 の整数値を指定してください。PostgreSQL のデフォルト値は 90 です。 OpClass() 式 ¶ class OpClass ( expression , name ) [ソース] ¶ OpClass() 式は、機能インデックス、機能ユニーク制約、または除外制約を ... に 'django.contrib.postgres' を追加する必要があります。 name パラメータを operator class の名前に設定します。 例: Index ( OpClass ( Lower ( "username" ), name = "varchar_pattern_ops" ), name = "lower_username_idx" , ) varchar_pattern_ops を使用して Low ... er('username') にインデックスを作成します: UniqueConstraint ( OpClass ( Upper ( "description" ), name = "text_pattern_ops" ), name = "upper_description_unique" , ) Upper('description') を使って ... ... ージがどれだけ詰め込まれるかを調整するために、10 から 100 の整数値を指定してください。PostgreSQL のデフォルト値は 90 です。 OpClass() 式 ¶ class OpClass ( expression , name ) [ソース] ¶ OpClass() 式は、機能インデックス、機能ユニーク制約、または除外制約を ... に 'django.contrib.postgres' を追加する必要があります。 name パラメータを operator class の名前に設定します。 例: Index ( OpClass ( Lower ( "username" ), name = "varchar_pattern_ops" ), name = "lower_username_idx" , ) varchar_pattern_ops を使用して Low ... er('username') にインデックスを作成します: UniqueConstraint ( OpClass ( Upper ( "description" ), name = "text_pattern_ops" ), name = "upper_description_unique" , ) Upper('description') を使って ... ... erators . ADJACENT_TO ), ( F ( "room" ), RangeOperators . EQUAL ), ] 演算子の制約 排他制約には可換演算子のみ使用できます。 OpClass() 式は、制約式のカスタム operator class を指定するために使用できます。たとえば: expressions = [ ( OpClass ( "circle" , nam ... ... erators . ADJACENT_TO ), ( F ( "room" ), RangeOperators . EQUAL ), ] 演算子の制約 排他制約には可換演算子のみ使用できます。 OpClass() 式は、制約式のカスタム operator class を指定するために使用できます。たとえば: expressions = [ ( OpClass ( "circle" , nam ... ... ransactionNow PostgreSQL 固有のモデルインデックス BloomIndex BrinIndex BTreeIndex GinIndex GistIndex HashIndex SpGistIndex OpClass() 式 PostgreSQL 固有のルックアップ trigram(トリグラム)類似度 Unaccent データベースのマイグレーション・オペレーション マイ ... ... ransactionNow PostgreSQL 固有のモデルインデックス BloomIndex BrinIndex BTreeIndex GinIndex GistIndex HashIndex SpGistIndex OpClass() 式 PostgreSQL 固有のルックアップ trigram(トリグラム)類似度 Unaccent データベースのマイグレーション・オペレーション マイ ... ... ld 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 template <sitemapindex> now includes the <lastmod> times ... ed. The name argument of django.utils.functional.cached_property() is deprecated as it's unnecessary as of Python 3.6. The opclasses argument of django.contrib.postgres.constraints.ExclusionConstraint is deprecated in favor of using OpClass() in Exclusi ... ... ld 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 template <sitemapindex> now includes the <lastmod> times ... ed. The name argument of django.utils.functional.cached_property() is deprecated as it's unnecessary as of Python 3.6. The opclasses argument of django.contrib.postgres.constraints.ExclusionConstraint is deprecated in favor of using OpClass() in Exclusi ... ... nConstraint.include attribute allows creating covering exclusion constraints on PostgreSQL 12+. 新しい ExclusionConstraint.opclasses 属性により、PostgreSQLの演算子クラスを設定できるようになりました。 新しい JSONBAgg.ordering 属性は、集約される要素の並び ... for more details. Lookups for ArrayField now allow (non-nested) arrays containing expressions as right-hand sides. The new OpClass() expression allows creating functional indexes on expressions with a custom operator class. See Functional indexes for mo ... ude attributes allow creating covering indexes and covering unique constraints on PostgreSQL 11+. The new UniqueConstraint.opclasses attribute allows setting PostgreSQL operator classes. The QuerySet.update() method now respects the order_by() clause on ... ... nConstraint.include attribute allows creating covering exclusion constraints on PostgreSQL 12+. 新しい ExclusionConstraint.opclasses 属性により、PostgreSQLの演算子クラスを設定できるようになりました。 新しい JSONBAgg.ordering 属性は、集約される要素の並び ... for more details. Lookups for ArrayField now allow (non-nested) arrays containing expressions as right-hand sides. The new OpClass() expression allows creating functional indexes on expressions with a custom operator class. See Functional indexes for mo ... ude attributes allow creating covering indexes and covering unique constraints on PostgreSQL 11+. The new UniqueConstraint.opclasses attribute allows setting PostgreSQL operator classes. The QuerySet.update() method now respects the order_by() clause on ... 2026年10月08日