We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The OPTIONAL. MATCH clause accepts a list of patterns to (optionally) match on.
OPTIONAL. MATCH
$a = Query::node("a"); $b = Query::node("b"); $statement = Query::new() ->optionalMatch([$a, $b]) ->build(); $this->assertSame("OPTIONAL MATCH (:a), (:b)", $statement);