UNPKG

@neo4j/cypher-builder

Version:

A programmatic API for building Cypher queries for Neo4j

19 lines (18 loc) 603 B
import type { CypherEnvironment } from "../../Environment"; import type { CypherCompilable, Expr } from "../../types"; /** Represents a Map * @see {@link https://neo4j.com/docs/cypher-manual/current/syntax/maps/ | Cypher Documentation} * @group Maps */ export declare class MapExpr implements CypherCompilable { private readonly map; constructor(value?: Record<string, Expr>); get size(): number; set(key: string, value: Expr): void; set(values: Record<string, Expr>): void; private setField; /** * @internal */ getCypher(env: CypherEnvironment): string; }