Skip to main content

Class: SetItem

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

A single SET assignment target and value.

Implements​

Constructors​

Constructor​

new SetItem(key, value): SetItem

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

Parameters​

ParameterTypeDescription
keyCypherIdentifier | PropLookupTarget property path or variable.
valueASTNode | CypherIdentifier[]Value expression, or a list of labels when assigning labels to a node.

Returns​

SetItem

Properties​

add​

add: boolean = false

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

True when using += (additive property merge); false for = (replacement).


key​

key: CypherIdentifier | PropLookup

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

Target property path or variable.


value​

value: ASTNode | CypherIdentifier[]

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

Value expression, or a list of labels when assigning labels to a node.

Methods​

accept()​

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

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

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