@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
26 lines (25 loc) • 968 B
TypeScript
import { CypherASTNode } from "../../CypherASTNode";
import type { CypherEnvironment } from "../../Environment";
import type { Expr } from "../../types";
/**
* The concatenation operator (`||`) generated by {@link concat}
* @group Operators
* @category String
*/
export declare class ConcatOp extends CypherASTNode {
private readonly exprs;
/** @internal */
constructor(exprs: Expr[]);
/**
* @internal
*/
getCypher(env: CypherEnvironment): string;
}
/** Concat (||) operator. This operator may be used for concatenating strings. For concatenating Cypher builder clauses use `utils.concat`
* @see {@link https://neo4j.com/docs/cypher-manual/current/syntax/operators/#syntax-concatenating-two-strings-doublebar | Cypher Documentation}
* @group Operators
* @category String
* @since Neo4j 5.19
*/
export declare function concat(leftExpr: Expr, rightExpr: Expr): ConcatOp;
export declare function concat(...exprs: Expr[]): ConcatOp;