Skip to main content

Class: ExistsSubquery

Defined in: lang-cypher/src/ast/expression.ts:34

An EXISTS { ... } predicate that is true when the inner query or pattern returns at least one row.

Implements

Constructors

Constructor

new ExistsSubquery(query, pattern, where?): ExistsSubquery

Defined in: lang-cypher/src/ast/expression.ts:35

Parameters

ParameterTypeDescription
queryASTNodeFull subquery body; null when using the pattern-only form.
patternPatternElChain[]Inline path patterns for the pattern-only form; empty when a full query is present.
where?ASTNodeOptional WHERE filter applied inside the EXISTS check.

Returns

ExistsSubquery

Properties

pattern

pattern: PatternElChain[]

Defined in: lang-cypher/src/ast/expression.ts:39

Inline path patterns for the pattern-only form; empty when a full query is present.


query

query: ASTNode

Defined in: lang-cypher/src/ast/expression.ts:37

Full subquery body; null when using the pattern-only form.


where?

optional where?: ASTNode

Defined in: lang-cypher/src/ast/expression.ts:41

Optional WHERE filter applied inside the EXISTS check.

Methods

accept()

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

Defined in: lang-cypher/src/ast/expression.ts:44

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