-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Can someone confirm whether it is possible to use cymple to add a SET clause that uses the map syntax? So that you can SET all the properties at once? The OpenCypher documentation for what i want is here
for example, instead of doing:
MATCH (n)
SET "n.foo" = "bar"
...
Which is done (i believe) with ...match().node(ref_name="n").set({"n.foo": "bar"})
I would like to generate the query:
MATCH (n)
SET n = {foo: "bar"}
...
I have tried this syntax ...match().node(ref_name="n").set({"n" : {"foo": "bar"}})
but this generates:
MATCH (n)
SET n = {'foo': 'bar'}
...
Which is throwing errors due to containing the single quotes around the key name in the map.
Really appreciate any help anyone can offer.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels