Skip to content

MERGE clause

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

The MERGE accepts a pattern to merge, and optionally a clause to execute when the pattern is created and/or when it is matched.

Examples

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

$statement = Query::new()
	->merge($a)
	->build();

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