Skip to content

CREATE clause

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

The CREATE clause accepts a list of patterns to create.

Examples

$tom = Query::node("Person")->named("tom");

$statement = Query::new()
	->create($tom)
	->build();

$this->assertSame("CREATE (tom:Person)", $statement);
Clone this wiki locally