private fun applySubQueryUnwind(allNodes: SymbolicName, unwindCount: Int, parentNodeDefinition: NodeDefinition): Pair<StatementBuilder.OngoingReading, Node>

Starts a new SubQuery builder and applies the specified amount of unwinds to allNodes

Return

the generated statement builder, and the node representing the unwound allNodes collection

Parameters

allNodes

the name of the collection containing all nodes

unwindCount

the nesting depth of allNodes

parentNodeDefinition

the definition of the nodes in allNodes