Skip to content

Instantly share code, notes, and snippets.

@ikwattro
Created March 8, 2016 19:51
Show Gist options
  • Save ikwattro/ea2a4c41bc262fce0b05 to your computer and use it in GitHub Desktop.
Save ikwattro/ea2a4c41bc262fce0b05 to your computer and use it in GitHub Desktop.
unwind batching
{
"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