@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
19 lines (18 loc) • 602 B
TypeScript
import type { CypherEnvironment } from "../../Environment";
import type { PropertyRef } from "../../references/PropertyRef";
import type { Variable } from "../../references/Variable";
import type { CypherCompilable } from "../../types";
import type { ListExpr } from "./ListExpr";
/**
* @group Lists
*/
export declare class ListIndex implements CypherCompilable {
private readonly value;
private readonly index;
/**
* @internal
*/
constructor(variable: Variable | ListExpr | PropertyRef, index: number);
/** @internal */
getCypher(env: CypherEnvironment): string;
}