class NodeSubQuery(definition: FieldDefinition, val query: NodeQuery, onlyOnTypes: List<NodeDefinition>?, val relationshipDefinitions: List<AuthorizedRelationDefinition>, resultKeyPath: String) : NodeQueryEntry<FieldDefinition>
Defines a SubQuery which is part of a NodeQuery Must only be evaluated if parent type is in onlyOnTypes
Parameters
definition
definition of the queried field
query
the subquery
onlyOnTypes
a list of parent types on which this should be evaluated
relationshipDefinitions
defines the chain of relationships to fetch
resultKeyPath
the path to the key which fetches this field
Constructors
Link copied to clipboard
constructor(definition: FieldDefinition, query: NodeQuery, onlyOnTypes: List<NodeDefinition>?, relationshipDefinitions: List<AuthorizedRelationDefinition>, resultKeyPath: String)