Michael, Thats because the payload within props can be unknown.
- Shekar On Sunday, 16 March 2014 23:13:08 UTC-7, Michael Hunger wrote: > > Why would you want to update all props on match? > > Use individual SET ops here not commas > > Sent from mobile device > > Am 17.03.2014 um 06:45 schrieb Shekar Tippur <[email protected]<javascript:> > >: > > Hello, > > Trying to run this cypher query > > MERGE (item:Item {name: {name}}) ON CREATE > > > SET item = {props} > > > SET item.created = timestamp() > > > SET item.name = {name} > > > ON MATCH > > > SET item={props} > > > SET item.lastSeen = timestamp() > > SET item.name={name} > > > RETURN item > > > Props look like this: > { type: 'abc', source: 'xyz' } > > I get a weird response .. > > Error: Node with id 35 > > Not sure what this means. I dont have a node with ID 35. > > Can can someone please help me resolve this? > > - Shekar > > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
