UNPKG

@neo4j/graphql

Version:

A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations

14 lines 675 B
import type Cypher from "@neo4j/cypher-builder"; import type { QueryASTContext } from "../../QueryASTContext"; import { QueryASTNode } from "../../QueryASTNode"; export declare abstract class SelectionPattern extends QueryASTNode { getChildren(): QueryASTNode[]; /** Apply selection over the given context, returns the updated context and the selection clause * This ensures the new context matches the generated Cypher (i.e. the target is the nested relationship) */ abstract apply(context: QueryASTContext): { nestedContext: QueryASTContext<Cypher.Node>; pattern: Cypher.Pattern; }; } //# sourceMappingURL=SelectionPattern.d.ts.map