UNPKG

@neo4j/graphql

Version:

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

19 lines 975 B
import Cypher from "@neo4j/cypher-builder"; import type { AttributeAdapter } from "../../../../../schema-model/attribute/model-adapters/AttributeAdapter"; import { type QueryASTContext } from "../../QueryASTContext"; import { ParamInputField } from "../ParamInputField"; type MathOperator = "increment" | "decrement" | "add" | "subtract" | "divide" | "multiply"; export declare class MathInputField extends ParamInputField { private operation; constructor({ attribute, attachedTo, inputValue, operation, }: { attribute: AttributeAdapter; attachedTo: "node" | "relationship"; inputValue: unknown; operation: MathOperator; }); getChildren(): never[]; getSubqueries(queryASTContext: QueryASTContext<Cypher.Node>): Cypher.Clause[]; protected getRightExpression(queryASTContext: QueryASTContext<Cypher.Node>): Exclude<Cypher.Expr, Cypher.Map | Cypher.MapProjection>; } export {}; //# sourceMappingURL=MathInputField.d.ts.map