@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
13 lines (12 loc) • 745 B
TypeScript
import { ListExpr } from "../expressions/list/ListExpr";
import { MapExpr } from "../expressions/map/MapExpr";
import { Literal } from "../references/Literal";
import type { Param } from "../references/Param";
import type { Variable } from "../references/Variable";
import type { Expr } from "../types";
type VariableInput = string | number | Variable | Literal | Param;
export declare function normalizeVariable(value: VariableInput): Variable | Literal | Param;
export declare function normalizeExpr(value: VariableInput | Expr): Variable | Literal | Param | Expr;
export declare function normalizeMap(map: Record<string, VariableInput>): MapExpr;
export declare function normalizeList(list: Array<VariableInput | Expr>): ListExpr;
export {};