Skip to main content

Class: RemoveItem

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

A single REMOVE target - either a property or a set of labels.

Implements​

Constructors​

Constructor​

new RemoveItem(key, labels?): RemoveItem

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

Parameters​

ParameterTypeDescription
keyCypherIdentifier | PropLookupThe property path or variable to remove from.
labels?CypherIdentifier[]Labels to remove; undefined when removing a property rather than labels.

Returns​

RemoveItem

Properties​

key​

key: CypherIdentifier | PropLookup

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

The property path or variable to remove from.


labels?​

optional labels?: CypherIdentifier[]

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

Labels to remove; undefined when removing a property rather than labels.

Methods​

accept()​

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

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

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