graphdb-intellij-plugin icon indicating copy to clipboard operation
graphdb-intellij-plugin copied to clipboard

CREATE CONSTRAINT is not supported

Open artemgur opened this issue 1 year ago • 1 comments

1. CREATE CONSTRAINT queries are highlighted as errors.

Example of query: CREATE CONSTRAINT FOR (user:User) REQUIRE user.id IS UNIQUE; Error message: <any cypher option>, <create index>, <delete>, <reading clause>, BEGIN, CALL, COMMIT, CREATE, DROP, FOREACH, MERGE, REMOVE, RETURN, SET or WITH expected, got 'CREATE' Screenshot: image

2. When I try to execute CREATE CONSTRAINT queries, an error is shown

Query is the same as before. Error text: Error occurred: Cypher query text should not be an empty string Screenshot: image Error details (unfortunately only as screenshot, because the text in "Error details" window can't be copied): image

artemgur avatar Apr 12 '23 13:04 artemgur