Created
March 8, 2016 19:51
-
-
Save ikwattro/ea2a4c41bc262fce0b05 to your computer and use it in GitHub Desktop.
unwind batching
This file contains 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
{ | |
"statements": [ | |
{ | |
"statement": "UNWIND {nodes} as x MERGE (o:Object {um: x.umid}) SET o.value = x.value, o.updated = timestamp()", | |
"parameters": { | |
"nodes": [ | |
{ | |
"umid": 1, | |
"value": "bla bla" | |
}, | |
{ | |
"umid": 2, | |
"value": "bla bla" | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment