Created
January 25, 2013 00:37
-
-
Save nlacasse/4630367 to your computer and use it in GitHub Desktop.
connect resource node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn connect-resource-nodes! | |
[inserter node1 node2 label] | |
(let [relationship (DynamicRelationshipType/withName label)] | |
(.createRelationship inserter node1 node2 relationship nil))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment