検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 11 for UniqueConstraint (0.013 sec.)
Constraints reference — Django 4.0.6 ドキュメント 14492
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... you'll get a database integrity error on save() . UniqueConstraint s without a condition (i.e. non-partial unique con ... straints) and expressions (i.e. non-functional unique constraints) are different in this regard, in that they leve ... or is also raised during model validation when the UniqueConstraint is violated. CheckConstraint ¶ class CheckConstrai ... t always specify a unique name for the constraint. UniqueConstraint ¶ class UniqueConstraint ( * expressions , fields ...
https://man.plustar.jp/django/ref/models/constraints.html - [similar]
Django 3.2 release notes — Django 4.0.6 ドキュメント 8499
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... argument with lookups . The new Index.include and UniqueConstraint.include attributes allow creating covering indexes ... and covering unique constraints on PostgreSQL 11+. The new UniqueConstraint.opcl ... or covering indexes ( Index.include ) and covering unique constraints ( UniqueConstraint.include ), set DatabaseFeatur ...
https://man.plustar.jp/django/releases/3.2.html - [similar]
Django 4.0 release notes — Django 4.0.6 ドキュメント 8499
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nded if you need a gradual update path. Functional unique constraints ¶ The new *expressions positional argument of Un ... iqueConstraint() enables creating functional unique constraints on expressions and database functions. For examp ... ango.db import models from django.db.models import UniqueConstraint from django.db.models.functions import Lower class ... ( max_length = 255 ) class Meta : constraints = [ UniqueConstraint ( Lower ( 'first_name' ), Lower ( 'last_name' ) . ...
https://man.plustar.jp/django/releases/4.0.html - [similar]
索引 — Django 4.0.6 ドキュメント 8464
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... の属性) (FilteredRelation の属性) (Index の属性) (UniqueConstraint の属性) condition() (django.views.decorators.http ... モジュール) deferrable (ExclusionConstraint の属性) (UniqueConstraint の属性) Degrees (django.db.models.functions のクラ ... sions (ExclusionConstraint の属性) (Index の属性) (UniqueConstraint の属性) ExpressionWrapper (django.db.models のクラ ... 属性) (ModelAdmin の属性) (MultiValueField の属性) (UniqueConstraint の属性) fieldsets (ModelAdmin の属性) File (django ...
https://man.plustar.jp/django/genindex.html - [similar]
Model Meta options — Django 4.0.6 ドキュメント 8410
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ] unique_together ¶ Options. unique_together ¶ Use UniqueConstraint with the constraints option instead. UniqueConstra ...
https://man.plustar.jp/django/ref/models/options.html - [similar]
Django 3.2.1 release notes — Django 4.0.6 ドキュメント 8410
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e-to-one relationships in CheckConstraint.check or UniqueConstraint.condition ( #32635 ). Fixed a regression in Django ...
https://man.plustar.jp/django/releases/3.2.1.html - [similar]
PostgreSQL specific model indexes — Django 4.0.6 ドキュメント 8357
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s that can be used to define functional indexes or unique constraints. To use it, you need to add 'django.contrib.post ... ame') using varchar_pattern_ops . Another example: UniqueConstraint ( OpClass ( Upper ( 'description' ), name = 'text_ ... ), name = 'upper_description_unique' , ) creates a unique constraint on Upper('description') using text_pattern_ops . ... Changed in Django 4.0: Support for functional unique constraints was added. 目次 PostgreSQL specific model indexe ...
https://man.plustar.jp/django/ref/contrib/postgres/indexes.html - [similar]
Django 2.2 リリースノート — Django 4.0.6 ドキュメント 8215
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... go 2.2 ¶ Constraints ¶ The new CheckConstraint and UniqueConstraint classes enable adding custom database constraints. ...
https://man.plustar.jp/django/releases/2.2.html - [similar]
Django 3.0 リリースノート — Django 4.0.6 ドキュメント 8161
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nyField . The name attributes of CheckConstraint , UniqueConstraint , and Index now support app label and class interp ...
https://man.plustar.jp/django/releases/3.0.html - [similar]
Django 3.1 release notes — Django 4.0.6 ドキュメント 8161
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... in check constraints and partial indexes. The new UniqueConstraint.deferrable attribute allows creating deferrable un ...
https://man.plustar.jp/django/releases/3.1.html - [similar]
PREV 1 2 NEXT