Skip to content

Commit 6835933

Browse files
fix table
1 parent fbc2dbe commit 6835933

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ RETURN wrote
12911291

12921292
| Node property uniqueness constraint
12931293
a|
1294-
[source,cypher]
1294+
[source]
12951295
----
12961296
MATCH (n1:Label), (n2:Label)
12971297
WHERE n1.prop = n2.prop AND NOT n1 = n2
@@ -1300,7 +1300,7 @@ RETURN n1, n2
13001300

13011301
| Relationship property uniqueness constraint
13021302
a|
1303-
[source,cypher]
1303+
[source]
13041304
----
13051305
MATCH ()-[r1:REL_TYPE]->(), ()-[r2:REL_TYPE]->()
13061306
WHERE r1.prop = r2.prop AND NOT r1 = r2
@@ -1309,7 +1309,7 @@ RETURN r1, r2
13091309

13101310
| Node property existence constraint
13111311
a|
1312-
[source,cypher]
1312+
[source]
13131313
----
13141314
MATCH (n:Label)
13151315
WHERE n.prop IS NULL
@@ -1318,7 +1318,7 @@ RETURN n
13181318

13191319
| Relationship property existence constraint
13201320
a|
1321-
[source,cypher]
1321+
[source]
13221322
----
13231323
MATCH ()-[r:REL_TYPE]-()
13241324
WHERE r.prop IS NULL
@@ -1327,7 +1327,7 @@ RETURN r
13271327

13281328
| Node property type constraint
13291329
a|
1330-
[source,cypher]
1330+
[source]
13311331
----
13321332
MATCH (n:Label)
13331333
WHERE n.prop IS NOT :: <TYPE>
@@ -1336,7 +1336,7 @@ RETURN n
13361336

13371337
| Node property type constraint
13381338
a|
1339-
[source,cypher]
1339+
[source]
13401340
----
13411341
MATCH ()-[r:REL_TYPE]-()
13421342
WHERE r.prop IS NOT :: <TYPE>
@@ -1345,7 +1345,7 @@ RETURN r
13451345

13461346
| Node key constraint
13471347
a|
1348-
[source,cypher]
1348+
[source]
13491349
----
13501350
MATCH (n1:Label), (n2:Label)
13511351
WHERE n1.prop = n2.prop AND NOT n1 = n2
@@ -1359,7 +1359,7 @@ RETURN n AS node, 'non-existing' AS reason
13591359

13601360
| Relationship key constraint
13611361
a|
1362-
[source,cypher]
1362+
[source]
13631363
----
13641364
MATCH ()-[r1:REL_TYPE]->(), ()-[r2:REL_TYPE]->()
13651365
WHERE r1.prop = r2.prop AND NOT r1 = r2

0 commit comments

Comments
 (0)