@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
22 lines • 906 B
TypeScript
import type Cypher from "@neo4j/cypher-builder";
import type { QueryASTContext } from "../QueryASTContext";
import type { MutationOperation } from "../operations/operations";
import { InputField } from "./InputField";
/** Input field wrapping a nested mutation operation
* @example
* ```
* actors: { connect: [{ where: { node: { name: { eq: "Dan" } } } }] }
* ```
*/
export declare class MutationOperationField extends InputField {
mutationOperation: MutationOperation;
/**
* @param fieldName - Used for debugging only
*/
constructor(mutationOperation: MutationOperation, fieldName?: string);
getChildren(): MutationOperation[];
getSetParams(): Cypher.SetParam[];
getAuthorizationSubqueries(queryASTContext: QueryASTContext): Cypher.Clause[];
getSubqueries(queryASTContext: QueryASTContext): Cypher.Clause[];
}
//# sourceMappingURL=MutationOperationField.d.ts.map