Is there any way to add additional properties to an existing Map object?

I thought I could use SET, but it doesn't work on maps:

WITH {a: "foo"} AS result
SET result.b = "bar"
RETURN result

Type mismatch: expected Node or Relationship but was Map (line 1, column 31)

Because of this, I'm currently doing this everywhere which makes the 
queries hard to read:

WITH {a: "foo"} AS result
WITH {a: result.a, b: "bar"} AS result
RETURN result


Thanks,
bill 

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