@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
27 lines (26 loc) • 1.01 kB
TypeScript
import type { Variable } from "..";
import type { CypherEnvironment } from "../Environment";
import { Clause } from "./Clause";
import { WithCallProcedure } from "./mixins/clauses/WithCallProcedure";
import { WithCreate } from "./mixins/clauses/WithCreate";
import { WithMerge } from "./mixins/clauses/WithMerge";
import { WithReturn } from "./mixins/clauses/WithReturn";
import { WithWith } from "./mixins/clauses/WithWith";
import { WithWhere } from "./mixins/sub-clauses/WithWhere";
export interface LoadCSV extends WithReturn, WithCreate, WithMerge, WithWith, WithWhere, WithCallProcedure {
}
/**
* @see {@link https://neo4j.com/docs/cypher-manual/current/clauses/load-csv/ | Cypher Documentation}
* @group Clauses
*/
export declare class LoadCSV extends Clause {
private readonly url;
private readonly alias;
private _withHeaders;
constructor(url: string, alias: Variable);
withHeaders(): this;
/**
* @internal
*/
getCypher(env: CypherEnvironment): string;
}