mergePattern

fun mergePattern(alias: String, label: String): String

The (alias:Label {property: $property, ...}) pattern a store MERGEs on.

Label and property names are this object's own compile-time constants, and every value is a bound parameter named after its property, so nothing caller-derived is assembled into Cypher. The parameter names line up with the bind maps in LineageRowMappers.

Return

The pattern text, ready to follow a MERGE.

Parameters

alias

The variable the pattern binds the node to.

label

One of the labels above.