Skip to content

SET and REMOVE inside FOREACH are not supported #481

@angrykoala

Description

@angrykoala

The following is not currently supported as Set is not exposed standalone to be passed to Cypher.Pattern:

MATCH p=(start)-[*]->(finish)
WHERE start.name = 'A' AND finish.name = 'D'
FOREACH (n IN nodes(p) | SET n.marked = true)

Note that Cypher.Pattern(...).set will generate a SET statement after FOREACH which is also valid:

FOREACH (...)
SET ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions