@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
19 lines (18 loc) • 1.07 kB
TypeScript
import { CypherFunction } from "../../expressions/functions/CypherFunctions";
import type { ListExpr as List } from "../../expressions/list/ListExpr";
import type { MapExpr as Map } from "../../expressions/map/MapExpr";
import { VoidCypherProcedure } from "../../procedures/CypherProcedure";
import { Literal } from "../../references/Literal";
import type { Predicate } from "../../types";
/**
* @group Procedures
* @deprecated apoc methods will no longer be supported in Cypher Builder version 3
* @see [Apoc Documentation](https://neo4j.com/docs/apoc/current/overview/apoc.util/apoc.util.validate/)
*/
export declare function validate(predicate: Predicate, message: string | Literal<string>, params?: List | Literal | Map): VoidCypherProcedure;
/**
* @group Functions
* @deprecated apoc methods will no longer be supported in Cypher Builder version 3
* @see [Apoc Documentation](https://neo4j.com/docs/apoc/current/overview/apoc.util/apoc.util.validatePredicate/)
*/
export declare function validatePredicate(predicate: Predicate, message: string): CypherFunction;