per page, with , order by , clip by
Results of 1 - 10 of about 18 for operator (0.003 sec.)
Django 3.2.3 リリースノート 12508
Django 3.2.3 リリースノート May 13, 2021 Django 3.2.3 では、3.2.2 におけるいくつかのバグを修正しました。 バグ修正 Prepared for mysqlclient > 2.0.3 support ( #32732 ). Fixed a regression in Django 3.2 that caused the incorrect filtering of q ... uerysets combined with the | operator ( #32717 ). Fixed a regression in Django 3.2.1 where saving FileField would raise a SuspiciousFileOperation even when a cu ...
https://man.mtool.work/django/6.1/releases/3.2.3.html
Django 3.2 リリースノート 11358
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... ressions as right-hand sides. The new OpClass() expression allows creating functional indexes on expressions with a custom operator class. See Functional indexes for more details. django.contrib.sitemaps The new Sitemap attributes alternates , languages ... 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 MySQL and MariaDB. FilteredRelation() now supp ... raised ValidationError . This allows custom error messages to use the %(value)s placeholder. The ValidationError equality operator now ignores messages and params ordering. Backwards incompatible changes in 3.2 データベースバックエンド API このセクション ...
https://man.mtool.work/django/6.1/releases/3.2.html
PostgreSQL 固有のモデルインデックス 10964
PostgreSQL 固有のモデルインデックス 以下はPostgreSQL固有の django.contrib.postgres.indexes モジュールから利用可能な インデックス です。 BloomIndex class BloomIndex ( * expressions , length = None , columns = () , ** options ) [ソース] bloom ... ion , name ) [ソース] OpClass() 式は、機能インデックス、機能ユニーク制約、または除外制約を定義するために使用できるカスタム operator class と一緒に表す expression を表します。これを使用するには、 INSTALLED_APPS に 'django.contrib.postgres' を追加する必要が ... あります。 name パラメータを operator class の名前に設定します。 例: Index ( OpClass ( Lower ( "username" ), name = "varchar_pattern_ops" ), name = "lower_usern ... xclusionConstraint ( name = "exclude_overlapping_ops" , expressions = [ ( OpClass ( "circle" , name = "circle_ops" ), RangeOperators . OVERLAPS ), ], ) これは circle_ops を使用して circle 上に排他制約を作成します。 ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/indexes.html
Django 2.2 リリースノート 10964
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... w be serialized in migrations. You can now register custom serializers for migrations. モデル Added support for PostgreSQL operator classes ( Index.opclasses ). Added support for partial indexes ( Index.condition ). Added the NullIf and Reverse database ... es TypeError: Cannot assign the same cached_property to two different names ('base' and 'alias'). Use this instead: import operator class A : ... alias = property ( operator . attrgetter ( "base" )) Permissions for proxy models Permissions for proxy mode ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django 2.2.1 リリースノート 9814
Django 2.2.1 リリースノート May 1, 2019 Django 2.2.1 fixes several bugs in 2.2. バグ修正 Fixed a regression in Django 2.1 that caused the incorrect quoting of database user password when using dbshell on Oracle ( #30307 ). Added compatibili ... ) ( #30408 ). Fixed a migration crash on Oracle and SQLite when adding a check constraint with condition contains | ( OR ) operator ( #30412 ). ...
https://man.mtool.work/django/6.1/releases/2.2.1.html
Django 4.1 リリースノート 9042
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... eField 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 template <sitemapindex> now inclu ... n older versions, no prefetching was done. Q objects and querysets can now be combined using ^ as the exclusive or ( XOR ) operator. XOR is natively supported on MariaDB and MySQL. For databases that do not support XOR , the query will be converted to an ...
https://man.mtool.work/django/6.1/releases/4.1.html
PostgreSQL 固有のデータベース制約 8270
PostgreSQL 固有のデータベース制約 PostgreSQL は django.contrib.postgres.constraints モジュールから利用できる追加のデータ整合性制約をサポートしています。これらはモデル Meta.constraints オプションで追加されます。 ExclusionConstraint class Exc ... は式または文字列。2番目の要素は文字列で表現された SQL 演算子です。タイプミスを避けるために、演算子を文字列でマップする RangeOperators を使用できます。たとえば: expressions = [ ( "timespan" , RangeOperators . ADJACENT_TO ), ( F ( "room" ), RangeOperators . ... EQUAL ), ] 演算子の制約 排他制約には可換演算子のみ使用できます。 OpClass() 式は、制約式のカスタム operator class を指定するために使用できます。たとえば: expressions = [ ( OpClass ( "circle" , name = "circle_ops" ), RangeOperators ... す。例: from django.contrib.postgres.constraints import ExclusionConstraint from django.contrib.postgres.fields import RangeOperators from django.db.models import Deferrable ExclusionConstraint ( name = "exclude_overlapping_deferred" , expressions = [ ( " ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/constraints.html
データベース 7892
データベース Django は次のデータベースを公式にサポートしています。 PostgreSQL MariaDB MySQL Oracle SQLite サードパーティから提供されているデータベースバックエンド も多数あります。 Django はすべてのデータベースで可能な限り多くの機能をサポート ... y CharField , FileField , and TextField ), then Django will create an additional index that uses an appropriate PostgreSQL operator class for the column. The extra index is necessary to correctly perform lookups that use the LIKE operator in their SQL, a ...
https://man.mtool.work/django/6.1/ref/databases.html
制約 (Constraint) リファレンス 7892
制約 (Constraint) リファレンス このモジュールで定義されたクラスはデータベース制約を作成します。これらはモデルの Meta.constraints オプションで追加されます。 組み込みの制約への参照について 制約は django.db.models.constraints で定義されています ... clude と同じデータベース制約を持ちます。 opclasses UniqueConstraint. opclasses この一意なインデックスに使用する PostgreSQL operator クラス の名前です。カスタム演算子クラスが必要な場合は、インデックスの各フィールドに1つずつ指定しなければなりません。 例: U ...
https://man.mtool.work/django/6.1/ref/models/constraints.html
Django 1.7 リリースノート 7892
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... (e.g. lte , icontains ) while transforms are a new concept. The django.db.models.Lookup class provides a way to add lookup operators for model fields. As an example it is possible to add day_lte operator for DateFields . The django.db.models.Transform cl ... ward relation for OneToOneField by setting its related_name to '+' or ending it with '+' . F expressions support the power operator ( ** ). The remove() and clear() methods of the related managers created by ForeignKey and GenericForeignKey now accept th ...
https://man.mtool.work/django/6.1/releases/1.7.html
PREV 1 2 NEXT