private fun generateMainSubQuery(nodeQuery: NodeQuery, node: Node, allNodesCollected: SymbolicName): StatementWithResultNodesAndNodes
Generates a Cypher SubQuery which gets the list of all nodes, and applies pagination filtering, related nodes SubQueries, ordering and result aggregation
Return
the generated statement, the result name and the name of a collection with all raw nodes
Parameters
nodeQuery
the currently converted query
node
node which shall be used when unwinding allNodesCollected
allNodesCollected
name of the input variable containing a collection of all nodes