Skip to content

MATCH clause

Marijn van Wezel edited this page Oct 13, 2021 · 8 revisions

The MATCH clause accepts a list of patterns to match on.

Examples

$a = Query::node("a");
$b = Query::node("b");
$c = Query::node("c");

$statement = Query::new()
	->match([$a, $b, $c])
	->build();

$this->assertSame("MATCH (:a), (:b), (:c)", $statement);
Clone this wiki locally