Skip to content

Commit 54cab09

Browse files
up to set graph type on a populated database
1 parent f17b406 commit 54cab09

26 files changed

+703
-100
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@
115115
*** xref:indexes/semantic-indexes/vector-indexes.adoc[]
116116
** xref:indexes/syntax.adoc[]
117117
118-
* xref:constraints/index.adoc[]
119-
** xref:constraints/managing-constraints.adoc[]
120-
** xref:constraints/syntax.adoc[]
118+
* xref:schema/index.adoc[]
119+
** xref:schema/graph-types.adoc[]
120+
** xref:schema/constraints.adoc[]
121+
** xref:schema/syntax.adoc[]
121122
122123
* xref:planning-and-tuning/index.adoc[]
123124
** xref:planning-and-tuning/execution-plans.adoc[]

modules/ROOT/images/graph-types-data-in-database.svg

Lines changed: 56 additions & 0 deletions
Loading

modules/ROOT/images/graph-types-data-model.svg

Lines changed: 15 additions & 0 deletions
Loading

modules/ROOT/images/graph-types-element-type-constraints.svg

Lines changed: 17 additions & 0 deletions
Loading

modules/ROOT/images/graph-types-node-element-type.svg

Lines changed: 15 additions & 0 deletions
Loading

modules/ROOT/images/graph-types-relationship-element-type.svg

Lines changed: 17 additions & 0 deletions
Loading

modules/ROOT/pages/appendix/gql-conformance/additional-cypher.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -616,16 +616,16 @@ GQL supports `GRAPH TYPES` as a way of constraining a graph schema, but does not
616616
| Cypher feature
617617
| Description
618618

619-
| xref:constraints/managing-constraints.adoc#create-property-uniqueness-constraints[Property uniqueness constraints]
619+
| xref:schema/constraints.adoc#create-property-uniqueness-constraints[Property uniqueness constraints]
620620
| Ensures that the combined property values are unique for all nodes with a specific label or all relationships with a specific type.
621621

622-
| xref:constraints/managing-constraints.adoc#create-property-existence-constraints[Property existence constraints]
622+
| xref:schema/constraints.adoc#create-property-existence-constraints[Property existence constraints]
623623
| Ensures that a property exists either for all nodes with a specific label or for all relationships with a specific type.
624624

625-
| xref:constraints/managing-constraints.adoc#create-property-type-constraints[Property type constraints]
625+
| xref:schema/constraints.adoc#create-property-type-constraints[Property type constraints]
626626
| Ensures that a property has the required property type for all nodes with a specific label or for all relationships with a specific type.
627627

628-
| xref:constraints/managing-constraints.adoc#create-key-constraints[Key constraints]
628+
| xref:schema/constraints.adoc#create-key-constraints[Key constraints]
629629
| Ensures 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.
630630

631631
|===

modules/ROOT/pages/appendix/tutorials/advanced-query-tuning.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ Predicates that will not work:
936936

937937
[NOTE]
938938
====
939-
If there is a xref:constraints/managing-constraints.adoc#create-property-existence-constraints[property existence constraint] on the property, no predicate is required to trigger the optimization.
939+
If there is a xref:schema/constraints.adoc#create-property-existence-constraints[property existence constraint] on the property, no predicate is required to trigger the optimization.
940940
For example, `CREATE CONSTRAINT constraint_name FOR (p:Person) REQUIRE p.name IS NOT NULL`
941941
942942
Predicates with parameters, such as `WHERE n.prop > $param`, can trigger _index-backed ORDER BY_.

modules/ROOT/pages/clauses/delete.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ DETACH DELETE n
142142
Deleted 3 nodes, deleted 1 relationship
143143
----
144144

145-
`DETACH DELETE` is useful when experimenting with small example datasets, but it is not suitable for deleting large amounts of data, nor does it delete xref:indexes/search-performance-indexes/index.adoc[indexes] and xref:constraints/index.adoc[constraints].
145+
`DETACH DELETE` is useful when experimenting with small example datasets, but it is not suitable for deleting large amounts of data, nor does it delete xref:indexes/search-performance-indexes/index.adoc[indexes] or any xref:schema/index.adoc[schema].
146146

147-
To delete large amounts of data without deleting indexes and constraints, use xref::subqueries/subqueries-in-transactions.adoc#delete-with-call-in-transactions[CALL subqueries in transactions] instead.
147+
To delete large amounts of data without deleting indexes and any schema, use xref::subqueries/subqueries-in-transactions.adoc#delete-with-call-in-transactions[CALL subqueries in transactions] instead.
148148

149149
.Delete all nodes and relationships using `CALL` subqueries
150150
[source, cypher]

modules/ROOT/pages/clauses/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ These comprise clauses to create, show, and drop indexes and constraints.
278278
m| xref:indexes/syntax.adoc[CREATE \| SHOW \| DROP INDEX]
279279
| Create, show or drop an index.
280280

281-
m| xref::constraints/syntax.adoc[CREATE \| SHOW \| DROP CONSTRAINT]
281+
m| xref::schema/syntax.adoc[CREATE \| SHOW \| DROP CONSTRAINT]
282282
| Create, show or drop a constraint.
283283
|===
284284

0 commit comments

Comments
 (0)