Skip to content

Commit bffbadc

Browse files
committed
Update constraint descriptors
1 parent 8e0bdb7 commit bffbadc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/ROOT/pages/errors/gql-errors/22NC6.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ An error will be thrown with GQLSTATUS 22NC6 and the status description:
2323

2424
[source]
2525
----
26-
error: data exception - independent constraint and node element type have the same label. The independent constraint '(:`Person` {`name`})' is using the same label `Person` as a node element type.
26+
error: data exception - independent constraint and node element type have the same label. The independent constraint 'Constraint( type='NODE_PROPERTY_EXISTENCE', schema=(:`Person` {`name`}) )' is using the same label `Person` as a node element type.
2727
----
2828

2929
The correct fix is to define the property existence constraint as part of the node element type:

modules/ROOT/pages/errors/gql-errors/22NC7.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ An error will be thrown with GQLSTATUS 22NC7 and the status description:
2323

2424
[source]
2525
----
26-
error: data exception - independent constraint and relationship element type have the same relationship type. The independent constraint '()-[:`REL`]-()' is using the same relationship type `REL` as a relationship element type.
26+
error: data exception - independent constraint and relationship element type have the same relationship type. The independent constraint 'Constraint( type='RELATIONSHIP_PROPERTY_TYPE', schema=()-[:`REL` {`name`}]-(), propertyType=STRING )' is using the same relationship type `REL` as a relationship element type.
2727
----
2828

2929
The correct fix is to define the property type constraint as part of the relationship element type:

0 commit comments

Comments
 (0)