ownedNodePredicate

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

A Cypher predicate that holds for a node dice owns: every property of the label's shape is present.

Label and property names come from the schema definitions dice compiled, so nothing caller-derived is assembled into Cypher.

Return

The predicate text, ready to follow a WHERE.

Parameters

alias

The variable the node is bound to.

label

One of labels.