MATCH (`a0`:`Node`) -[:`to`]-> (`b0`:`Node`)
MATCH (`c0`) WHERE `c0`.`z` = `a0`.`xyz`
WITH `a0`, `b0`, `c0`.`z` AS `z0`
RETURN `a0`, `z0`
This sentence was generated with:
Match { case (a @ Node("Node")) - Rel("to") > (b @ Node("Node")) =>
Match {
case c if c.prop[Int]("z") === a.prop[Int]("xyz") =>
With(*(a, b), c.prop[Int]("z")) { z =>
(a.props, z)
}
}
}
Syntax merge
WITH
sentence with and without aliasThis sentence was generated with: