Neo4j로 그래프db(gdb) 다루기: MERGE, 여러 속성 유니크 제약조건 (node key constraints
영어원문: https://neo4j.com/docs/cypher-manual/current/clauses/merge/ 이번엔 relationship(edge), 엣지를 그을 때의 MERGE 사용법을 다룬다. node(노드) 만들 때의 사용법은 바로 이전 글에. CREATE CONSTRAINT ON (n:Person) ASSERT n.name IS UNIQUE; CREATE CONSTRAINT ON (n:Person) ASSERT n.role IS UNIQUE; 이런식으로 노드의 property가 unique하도록 지정할 수 있다 + 다만 2020년 기준(neo4j 2.0.1) 여러 프로퍼티에 uniqueness 제약을 걸 수 없다고 한다. Enterprise edition neo4j 3.3에서는 node..