UNPKG

@neo4j/cypher-builder

Version:

A programmatic API for building Cypher queries for Neo4j

8 lines (7 loc) 386 B
import type { CypherEnvironment } from "../Environment"; import type { CypherCompilable } from "../types"; /** Compiles the cypher of an element, if the resulting cypher is not empty adds a prefix */ export declare function compileCypherIfExists(element: CypherCompilable | undefined, env: CypherEnvironment, { prefix, suffix }?: { prefix?: string; suffix?: string; }): string;