@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
20 lines (19 loc) • 689 B
TypeScript
import type { CypherEnvironment } from "../../Environment";
import type { PathVariable } from "../../references/Path";
import type { CypherCompilable } from "../../types";
import { PathAssign } from "../PathAssign";
import type { Pattern } from "../Pattern";
import type { QuantifiedPattern } from "./QuantifiedPattern";
/**
* @group Patterns
*/
export declare class QuantifiedPath implements CypherCompilable {
private readonly patterns;
constructor(...patterns: Array<QuantifiedPattern | Pattern>);
assignTo(variable: PathVariable): PathAssign<this>;
/**
* @internal
*/
getCypher(env: CypherEnvironment): string;
private getRemainingPatternsString;
}