@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
20 lines (19 loc) • 660 B
TypeScript
import { HasLabel } from "../expressions/HasLabel";
import type { LabelExpr } from "../expressions/labels/label-expressions";
import type { NamedReference } from "./Variable";
import { Variable } from "./Variable";
/** Reference to a relationship property
* @group Variables
*/
export declare class RelationshipRef extends Variable {
constructor();
hasType(label: string | LabelExpr): HasLabel;
}
/** Represents a relationship reference with a given name
* @group Variables
*/
export declare class NamedRelationship extends RelationshipRef implements NamedReference {
readonly id: string;
constructor(id: string);
get name(): string;
}