UNPKG

@neo4j/graphql

Version:

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

20 lines 1.03 kB
import type { OperationField } from "../fields/OperationField"; import type { QueryASTContext } from "../QueryASTContext"; import type { QueryASTNode } from "../QueryASTNode"; import { Operation, type OperationTranspileResult } from "./operations"; import type { UpdateOperation } from "./UpdateOperation"; /** Wrapper over TopLevelUpdateMutationOperation for top level update, that support multiple update operations * This extends Operation because we don't need the mutationOperation API for top level */ export declare class TopLevelUpdateMutationOperation extends Operation { private readonly projectionOperations; private readonly updateOperations; constructor({ updateOperations, projectionOperations, }: { updateOperations: UpdateOperation[]; projectionOperations: OperationField[]; }); getChildren(): QueryASTNode[]; transpile(context: QueryASTContext): OperationTranspileResult; private getProjectionClause; } //# sourceMappingURL=TopLevelUpdateMutationOperation.d.ts.map