Skip to content

Commit c9096fa

Browse files
some maybe final fixes
1 parent a8b62fa commit c9096fa

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

modules/ROOT/pages/constraints/managing-constraints.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -690,8 +690,9 @@ Added 1 constraint.
690690
691691
======
692692

693-
[[multiple-constraints]]
694-
=== Multiple constraints
693+
[[handling-multiple-constraints]]
694+
=== Handling multiple constraints
695+
695696
Creating an already existing constraint will fail.
696697
This includes the following scenarios:
697698

@@ -1320,7 +1321,7 @@ CREATE (:Book {isbn: '9780393972832', title: 'Moby Dick'}),
13201321
----
13211322
13221323
1323-
.Create a constraint requiring `Book` nodes to have unique `title` properties, when there already exists two nodes with the same `title`
1324+
.Create a constraint requiring `Book` nodes to have unique `title` properties, when there already exists two `Book` nodes with the same `title`
13241325
[source, cypher, role=test-fail]
13251326
----
13261327
CREATE CONSTRAINT book_title FOR (book:Book) REQUIRE book.title IS UNIQUE
@@ -1354,8 +1355,7 @@ RETURN book1, book2
13541355
.Create a relationship property existence constraint when conflicting relationships exist
13551356
======
13561357
1357-
1358-
.Create a constraint requiring all `WROTE` relationships to have a `language` property, when there already exists a relationship without a property named `language`
1358+
.Create a constraint requiring all `WROTE` relationships to have a `language` property, when there already exists a `WROTE` relationship without a `language` property
13591359
[source, cypher, role=test-fail]
13601360
----
13611361
CREATE CONSTRAINT wrote_language FOR ()-[wrote:WROTE]-() REQUIRE wrote.language IS NOT NULL
@@ -1704,7 +1704,8 @@ YIELD name, type, createStatement
17041704
| STRING
17051705

17061706
| labelsOrTypes
1707-
| The labels or relationship types of this constraint. label:default-output[]
1707+
| The labels or relationship types of this constraint.
1708+
The list returned will only include a single value (the name of the constrained node label or relationship type). label:default-output[]
17081709
| LIST<STRING>
17091710

17101711
| properties

0 commit comments

Comments
 (0)