Django 3.0.x Documentationfunctions for statistics • Usage examples • PostgreSQL specific database constraints • ExclusionConstraint • PostgreSQL specific model fields • Indexing these fields ○ ArrayField ☐ CIText fields constraints module. They are added in the model Meta.constraints option. ## ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None) Creates an exclusion when update conflicts with an existing row. ## name ExclusionConstraint.name The name of the constraint. ## expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element0 码力 | 3085 页 | 2.95 MB | 2 年前3
Django 4.2.x DocumentationAggregate functions for statistics Usage examples PostgreSQL specific database constraints ExclusionConstraint PostgreSQL specific query expressions ArraySubquery() expressions PostgreSQL specific model postgres.constraints module. They are added in the model Meta.constraints option. ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None constraints were not checked during model validation. name ExclusionConstraint.name See BaseConstraint.name. expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is an0 码力 | 3305 页 | 3.16 MB | 2 年前3
Django 5.0.x Documentationconstraints module. They are added in the model Meta.constraints option. ## ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None constraints are checked during the model validation. name ExclusionConstraint.name See BaseConstraint.name. expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is RangeOperators.OVERLAPS), ] creates an exclusion constraint on circle using circle_ops. index_type ExclusionConstraint.index_type The index type of the constraint. Accepted values are GIST or SPGIST. Matching0 码力 | 2878 页 | 9.60 MB | 2 年前3
Django 5.1.2 Documentationconstraints module. They are added in the model Meta.constraints option. ## ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None constraints are checked during the model validation. name ExclusionConstraint.name See BaseConstraint.name. expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is RangeOperators.OVERLAPS), ] creates an exclusion constraint on circle using circle_ops. index_type ExclusionConstraint.index_type The index type of the constraint. Accepted values are GIST or SPGIST. Matching0 码力 | 2923 页 | 9.62 MB | 1 年前3
Django 5.1 Documentationconstraints module. They are added in the model Meta.constraints option. ## ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None constraints are checked during the model validation. name ExclusionConstraint.name See BaseConstraint.name. expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is RangeOperators.OVERLAPS), ] creates an exclusion constraint on circle using circle_ops. index_type ExclusionConstraint.index_type The index type of the constraint. Accepted values are GIST or SPGIST. Matching0 码力 | 2917 页 | 9.59 MB | 1 年前3
Django 4.1.x Documentationconstraints module. They are added in the model Meta.constraints option. ## ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None constraints were not checked during model validation. name ExclusionConstraint.name See BaseConstraint.name. expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is constraint on circle using circle_ops. Support for the OpClass() expression was added. index_type ExclusionConstraint.index_type The index type of the constraint. Accepted values are GIST or SPGIST. Matching0 码力 | 2777 页 | 9.32 MB | 2 年前3
Django 4.2.x Documentationconstraints module. They are added in the model Meta.constraints option. ## ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None constraints were not checked during model validation. name ExclusionConstraint.name See BaseConstraint.name. expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is constraint on circle using circle_ops. Support for the OpClass() expression was added. index_type ExclusionConstraint.index_type The index type of the constraint. Accepted values are GIST or SPGIST. Matching0 码力 | 2842 页 | 9.47 MB | 2 年前3
Django 5.0.x Documentationfunctions for statistics ○ Usage examples • PostgreSQL specific database constraints • ExclusionConstraint • PostgreSQL specific query expressions ○ ArraySubquery(.) expressions • PostgreSQL specific constraints module. They are added in the model Meta.constraints option. ## ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None constraints are checked during the model validation. ## name ExclusionConstraint.name See BaseConstraint.name. ## expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is0 码力 | 3407 页 | 3.21 MB | 2 年前3
Django 3.2.x DocumentationAggregate functions for statistics Usage examples PostgreSQL specific database constraints ExclusionConstraint PostgreSQL specific model fields Indexing these fields ArrayField CIText fields HStoreField postgres.constraints module. They are added in the model Meta.constraints option. ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None Similarly, when update conflicts with an existing row. name ExclusionConstraint.name The name of the constraint. expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is0 码力 | 3121 页 | 3.08 MB | 2 年前3
Django 3.2.x Documentationpostgres. constraints module. They are added in the model Meta.constraints option. ExclusionConstraint class ExclusionConstraint(*, name, expressions, index_type=None, condition=None, deferrable=None, include=None Similarly, when update conflicts with an existing row. name ExclusionConstraint.name The name of the constraint. expressions ExclusionConstraint.expressions An iterable of 2-tuples. The first element is on operators. Only commutative operators can be used in exclusion constraints. index_type ExclusionConstraint.index_type The index type of the constraint. Accepted values are GIST or SPGIST. Matching is0 码力 | 2199 页 | 7.89 MB | 2 年前3
共 14 条
- 1
- 2













