Skip to content

Commit

Permalink
Add new label to type constraints and page alias (neo4j#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
JPryce-Aklundh authored and gem-neo4j committed Nov 28, 2024
1 parent 26f1596 commit 18d1294
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/ROOT/pages/constraints/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The following constraints are available in Neo4j:

* *Property uniqueness constraints* ensure that the combined property values are unique for all nodes with a specific label or all relationships with a specific type.
* *Property existence constraints* ensure that a property exists either for all nodes with a specific label or for all relationships with a specific type. label:enterprise-edition[]
* *Property type constraints* ensure that a property has the required property type for all nodes with a specific label or for all relationships with a specific type. label:enterprise-edition[]
* *Property type constraints* ensure that a property has the required property type for all nodes with a specific label or for all relationships with a specific type. label:new[Introduced in 5.9] label:enterprise-edition[]
* *Key constraints* ensure that all properties exist and that the combined property values are unique for all nodes with a specific label or all relationships with a specific type.label:enterprise-edition[]
To learn more about creating, listing, and dropping these constraints, as well as information about index-backed constraints, constraint creation failures and data violation scenarios, and more, see xref:constraints/managing-constraints.adoc[].
Expand Down
3 changes: 2 additions & 1 deletion modules/ROOT/pages/constraints/managing-constraints.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:description: Information about creating, listing, and dropping Neo4j's constraints.
:page-aliases: constraints/examples.adoc
include::https://raw.githubusercontent.com/neo4j-graphacademy/courses/main/asciidoc/courses/cypher-indexes-constraints/ad.adoc[]
:page-aliases: constraints/examples.adoc
= Create, show, and drop constraints
Expand All @@ -8,7 +9,7 @@ The following constraint types are available in Neo4j:

* xref:constraints/managing-constraints.adoc#create-property-uniqueness-constraints[Property uniqueness constraints]
* xref:constraints/managing-constraints.adoc#create-property-existence-constraints[Property existence constraints] label:enterprise-edition[]
* xref:constraints/managing-constraints.adoc#create-property-type-constraints[Property type constraints] label:enterprise-edition[]
* xref:constraints/managing-constraints.adoc#create-property-type-constraints[Property type constraints] label:new[Introduced in 5.9] label:enterprise-edition[]
* xref:constraints/managing-constraints.adoc#create-key-constraints[Key constraints] label:enterprise-edition[]
Expand Down

0 comments on commit 18d1294

Please sign in to comment.