private fun createPartialRootNodeQuery(query: PartialNodeQuery, nodes: Collection<Node>): StatementWithSymbolicName
Creates a query based on nodeQuery Must only be used for the root query Does only include nodes in nodes and does only fetch the id of these nodes
Return
the generated query and result column name
Parameters
query
defines the query to execute
nodes
the nodes for which to execute subqueries