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
| Parameter | Type | Default value | Description |
|---|---|---|---|
exprs | ASTNode[] | undefined | Expressions evaluating to the nodes or relationships to delete. |
detach | boolean | false | True 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
| Parameter | Type |
|---|---|
visitor | CypherVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret