You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE CONSTRAINT ON (model:MyNode) ASSERT model.customKey IS UNIQUE
which returns the following error ->
error: Neo4jError: Invalid constraint syntax, ON and ASSERT should not be used. Replace ON with FOR and ASSERT with REQUIRE. (line 1, column 1 (offset: 0))
"CREATE CONSTRAINT ON (model:MyNode) ASSERT model.customKey IS UNIQUE"
^
The text was updated successfully, but these errors were encountered:
Incorrect Constraints Query Generated
Versions
5.18.1
0.4.9
Problem
Incorrect constraints query being generated by
Runs the following cypher query
which returns the following error ->
The text was updated successfully, but these errors were encountered: