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
| Parameter | Type | Description |
|---|---|---|
query | ASTNode | Full subquery body; null when using the pattern-only form. |
pattern | PatternElChain[] | Inline path patterns for the pattern-only form; empty when a full query is present. |
where? | ASTNode | Optional 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?
optionalwhere?: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
| Parameter | Type |
|---|---|
visitor | CypherVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret