Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

Commit

Permalink
Re-added the identifier node on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nwrigh committed Jan 20, 2017
1 parent b112fb0 commit e1f36d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified industry-classifications-rw-neo4j
Binary file not shown.
Expand Up @@ -87,6 +87,7 @@ func (s service) Write(thing interface{}) error {
//create-update node for IndustryClassification
createIndustryClassficationQuery := &neoism.CypherQuery{
Statement: ` MERGE (n:Thing {uuid: {uuid}})
CREATE (i:Identifier {value:{uuid}})-[:IDENTIFIES]->(t)
set n={allprops}
set n :IndustryClassification:Classification:Concept`,
Parameters: map[string]interface{}{
Expand Down

0 comments on commit e1f36d3

Please sign in to comment.