File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
modules/ROOT/pages/schema/constraints Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -551,9 +551,9 @@ Added 1 constraint.
551551======
552552
553553.Create a constraint requiring `KNOWS` relationships to have a unique combination of `since` and `how` properties as a relationship key
554+ // tag::schema_constraints_composite_key[]
554555[source, cypher]
555556----
556- // tag::schema_constraints_composite_key[]
557557CREATE CONSTRAINT knows_since_how
558558FOR ()-[knows:KNOWS]-() REQUIRE (knows.since, knows.how) IS RELATIONSHIP KEY
559559----
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ FOR ()-[wrote:WROTE]-() REQUIRE wrote.published IS NOT NULL
6464----
6565DROP CONSTRAINT book_isbn
6666----
67- // tag ::schema_constraints_drop[]
67+ // end ::schema_constraints_drop[]
6868
6969.Result
7070[source, queryresult]
You can’t perform that action at this time.
0 commit comments