internal fun generateManyNodeQuery(definition: NodeDefinition, context: FieldFetchingContext, additionalConditions: List<CypherConditionGenerator>, requiredPermission: Permission?, authorizationCondition: CypherConditionGenerator?): NodeQuery

Generates a NodeQuery which loads multiple Nodes Can use the dataFetchingEnvironment to fetch a subtree of node

Return

the generated NodeQuery to load the node

Parameters

definition

NodeDefinition of the nodes to load

context

provides the sub-selection set, result path and arguments

additionalConditions

list of conditions which are applied to filter the returned node

requiredPermission

optional required permission

authorizationCondition

optional authorization condition generated for the current query


private fun generateManyNodeQuery(nodeDefinition: NodeDefinition, context: FieldFetchingContext, additionalConditions: List<CypherConditionGenerator>, requiredPermission: Permission?): NodeQuery

Generates a NodeQuery which loads multiple Nodes Can use the dataFetchingEnvironment to fetch a subtree of node

Return

the generated NodeQuery to load the node

Parameters

nodeDefinition

definition of the nodes to load

context

provides the sub-selection set, result path and arguments

additionalConditions

list of conditions which are applied to filter the returned node

requiredPermission

optional required permission