Skip to main content

Class: DeleteClause

Defined in: lang-cypher/src/ast/query.ts:195

A DELETE clause that deletes nodes or relationships.

Implements

Constructors

Constructor

new DeleteClause(exprs, detach?): DeleteClause

Defined in: lang-cypher/src/ast/query.ts:196

Parameters

ParameterTypeDefault valueDescription
exprsASTNode[]undefinedExpressions evaluating to the nodes or relationships to delete.
detachbooleanfalseTrue when DETACH DELETE, which removes incident relationships automatically.

Returns

DeleteClause

Properties

detach

detach: boolean = false

Defined in: lang-cypher/src/ast/query.ts:200

True when DETACH DELETE, which removes incident relationships automatically.


exprs

exprs: ASTNode[]

Defined in: lang-cypher/src/ast/query.ts:198

Expressions evaluating to the nodes or relationships to delete.

Methods

accept()

accept<Ret, Arg>(visitor, arg?): Ret

Defined in: lang-cypher/src/ast/query.ts:203

Dispatches this node to the matching method on visitor.

Type Parameters

Type Parameter
Ret
Arg

Parameters

ParameterType
visitorCypherVisitor<Ret, Arg>
arg?Arg

Returns

Ret

Implementation of

ASTNode.accept