You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.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`
1324
1325
[source, cypher, role=test-fail]
1325
1326
----
1326
1327
CREATE CONSTRAINT book_title FOR (book:Book) REQUIRE book.title IS UNIQUE
@@ -1354,8 +1355,7 @@ RETURN book1, book2
1354
1355
.Create a relationship property existence constraint when conflicting relationships exist
1355
1356
======
1356
1357
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
1359
1359
[source, cypher, role=test-fail]
1360
1360
----
1361
1361
CREATE CONSTRAINT wrote_language FOR ()-[wrote:WROTE]-() REQUIRE wrote.language IS NOT NULL
0 commit comments