Skip to content

Commit 85613b8

Browse files
table formatting
1 parent 463f2f8 commit 85613b8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

modules/ROOT/pages/schema/graph-types/list-graph-types.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ SHOW CURRENT GRAPH TYPE
4545
| | (:`Robot` => :`Machine`&`Resident` {`application` :: STRING NOT NULL, `id` :: INTEGER NOT NULL}), |
4646
| | (:`Resident`)-[:`LIVES_IN` => {`since` :: ANY NOT NULL}]->(:`City` =>), |
4747
| | (:`Person` =>)-[:`WORKS_FOR` => {`role` :: STRING}]->(:`Company` =>), |
48-
| | CONSTRAINT `constraint_d13497d2` FOR (`n`:`Company` =>) REQUIRE (`n`.`address`) IS UNIQUE, |
48+
| | CONSTRAINT `constraint_d13497d2` FOR (`n`:`Company` =>) REQUIRE (`n`.`address`) IS UNIQUE, |
4949
| | CONSTRAINT `company_name` FOR (`n`:`Company` =>) REQUIRE (`n`.`name`) IS KEY, |
5050
| | CONSTRAINT `constraint_bb1018eb` FOR (`n`:`Person` =>) REQUIRE (`n`.`name`, `n`.`ssn`) IS KEY, |
5151
| | CONSTRAINT `constraint_302a3693` FOR (`n`:`Pet` =>) REQUIRE (`n`.`healthCertificate`) IS UNIQUE, |
@@ -117,13 +117,13 @@ SHOW CURRENT GRAPH TYPE YIELD specification
117117
| (:`Robot` => :`Machine`&`Resident` {`application` :: STRING NOT NULL, `id` :: INTEGER NOT NULL}), |
118118
| (:`Resident`)-[:`LIVES_IN` => {`since` :: ANY NOT NULL}]->(:`City` =>), |
119119
| (:`Person` =>)-[:`WORKS_FOR` => {`role` :: STRING}]->(:`Company` =>), |
120-
| CONSTRAINT `constraint_d13497d2` FOR (`n`:`Company` =>) REQUIRE (`n`.`address`) IS UNIQUE, |
120+
| CONSTRAINT `constraint_d13497d2` FOR (`n`:`Company` =>) REQUIRE (`n`.`address`) IS UNIQUE, |
121121
| CONSTRAINT `company_name` FOR (`n`:`Company` =>) REQUIRE (`n`.`name`) IS KEY, |
122122
| CONSTRAINT `constraint_bb1018eb` FOR (`n`:`Person` =>) REQUIRE (`n`.`name`, `n`.`ssn`) IS KEY, |
123123
| CONSTRAINT `constraint_302a3693` FOR (`n`:`Pet` =>) REQUIRE (`n`.`healthCertificate`) IS UNIQUE, |
124124
| CONSTRAINT `constraint_aa881a72` FOR (`n`:`Pet` =>) REQUIRE (`n`.`insuranceNumber`) IS KEY, |
125125
| CONSTRAINT `animal_id` FOR (`n`:`Animal`) REQUIRE (`n`.`id`) IS UNIQUE, |
126-
| CONSTRAINT `car_constraint` FOR (`n`:`Car`) REQUIRE (`n`.`licensePlate`) IS UNIQUE, |
126+
| CONSTRAINT `car_constraint` FOR (`n`:`Car`) REQUIRE (`n`.`licensePlate`) IS UNIQUE, |
127127
| CONSTRAINT `resident_address` FOR (`n`:`Resident`) REQUIRE (`n`.`address`) IS :: STRING |
128128
| }" |
129129
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -172,6 +172,8 @@ ORDER BY labelsOrTypes
172172
[source, "queryresult"]
173173
----
174174
+------------------------------------------------------------------------------------------------------------+
175+
| name | type | labelsOrTypes | enforcedLabel | classification |
176+
+------------------------------------------------------------------------------------------------------------+
175177
| "animal_id" | "NODE_PROPERTY_UNIQUENESS" | ["Animal"] | NULL | "undesignated" |
176178
| "car_constraint" | "NODE_PROPERTY_UNIQUENESS" | ["Car"] | NULL | "undesignated" |
177179
| "constraint_22a8753a" | "NODE_PROPERTY_EXISTENCE" | ["City"] | NULL | "dependent" |

0 commit comments

Comments
 (0)