UNPKG

@neo4j/cypher-builder

Version:

A programmatic API for building Cypher queries for Neo4j

17 lines (16 loc) 907 B
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 * @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 * @see [Apoc Documentation](https://neo4j.com/docs/apoc/current/overview/apoc.util/apoc.util.validatePredicate/) */ export declare function validatePredicate(predicate: Predicate, message: string): CypherFunction;