UNPKG

@neo4j/cypher-builder

Version:

A programmatic API for building Cypher queries for Neo4j

22 lines (21 loc) 803 B
import { WithWhere } from "../../clauses/mixins/sub-clauses/WithWhere"; import { CypherASTNode } from "../../CypherASTNode"; import type { CypherEnvironment } from "../../Environment"; import type { Pattern } from "../../pattern/Pattern"; import type { Expr } from "../../types"; export interface PatternComprehension extends WithWhere { } /** Represents a Pattern comprehension * @see {@link https://neo4j.com/docs/cypher-manual/current/values-and-types/lists/#cypher-pattern-comprehension | Cypher Documentation} * @group Patterns */ export declare class PatternComprehension extends CypherASTNode { private readonly pattern; private mapExpr; constructor(pattern: Pattern); map(mapExpr: Expr): this; /** * @internal */ getCypher(env: CypherEnvironment): string; }