[Feature Request]: Neo4j -- Create Node key constraints
Apache Hop version?
2.2
Java version?
OpenJDK Runtime Environment (build 11.0.17+8)
Operating system
Linux
What happened?
Neo4j Version: 4.4.15
Please add an option to create a node key constraint for Neo4j.
Currently, the only way to create constraints via the "Neo4j Constraint" action is as follows:
CREATE CONSTRAINT company_id IF NOT EXISTS FOR (n:Company) REQUIRE n.id IS UNIQUE
For node-key constraints (https://neo4j.com/docs/cypher-manual/4.4/constraints/examples/#administration-constraints-node-key), the syntax is slightly different:
CREATE CONSTRAINT company_id_name FOR (n:Company) REQUIRE (n.id, n.name) IS NODE KEY
Issue Priority
Priority: 2
Issue Component
Component: Graph
.set-labels new feature
Label new cannot be managed because it does not exist in the repo. Please check your spelling.
moved to new feature, sounds like a great addition
Before making this the standard, make sure it works with community edition as well as enterprise. Some NODE KEY functionality only works in Enterprise Neo4j.
.take-issue