Generates a query based on nodeQuery Must only be used for the root query

Return

the generated query and result column name

Parameters

query

defines the query to execute