@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
17 lines • 552 B
TypeScript
import { type Node, type Relationship } from "../../classes";
/**
* Transforms a key-value pair such as:
* { name_SET: "John" }
* Into statements such as:
* SET node.name = $param
**/
export declare function getMutationFieldStatements({ nodeOrRel, param, key, varName, value, withVars, isUpdateOperation, }: {
nodeOrRel: Node | Relationship;
param: string;
key: string;
varName: string;
value: any;
withVars: string[];
isUpdateOperation?: boolean;
}): string;
//# sourceMappingURL=get-mutation-field-statements.d.ts.map