Figured it out.  Separating the parts of the SET clause by commas appears 
to work. For example:

match (n {name:'foo'}) set n :foo:bar:baz, n = {name:'foo', another:1, b:3} 
return n

-b

On Tuesday, March 18, 2014 1:48:19 PM UTC-4, brian wrote:
>
> In Neo4j 2.x:
>
> I want to be able to set all of the properties of the Node including 
> labels with a single Cypher query.  Something like:
>
> match (n {name:'foo'}) set n :label1:label2 = {another:1, b:3} return n
>
> but this form and a number of other forms I've tried return a syntax 
> error.  Is there a way to do this?
>
> Thanks.
>
> -b
>
>

-- 
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.

Reply via email to