UNPKG

@neo4j/graphql

Version:

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

20 lines 803 B
import Cypher from "@neo4j/cypher-builder"; import type { ConcreteEntityAdapter } from "../../../../../schema-model/entity/model-adapters/ConcreteEntityAdapter"; import { QueryASTContext } from "../../QueryASTContext"; import { SelectionPattern } from "./SelectionPattern"; /** Generates a pattern to select a node */ export declare class NodeSelectionPattern extends SelectionPattern { private target; private alias; private useContextTarget; constructor({ target, alias, useContextTarget, }: { target: ConcreteEntityAdapter; alias?: string; useContextTarget?: boolean; }); apply(context: QueryASTContext): { nestedContext: QueryASTContext<Cypher.Node>; pattern: Cypher.Pattern; }; } //# sourceMappingURL=NodeSelectionPattern.d.ts.map