Class: WithClause
Defined in: lang-cypher/src/ast/query.ts:255
A WITH clause that projects and passes results between query parts.
Implements
Constructors
Constructor
new WithClause(
body,where?):WithClause
Defined in: lang-cypher/src/ast/query.ts:256
Parameters
| Parameter | Type | Description |
|---|---|---|
body | ProjectionBody | The projection body containing items, ordering, skip, and limit. |
where? | ASTNode | Optional WHERE filter applied after projection; undefined if absent. |
Returns
WithClause
Properties
body
body:
ProjectionBody
Defined in: lang-cypher/src/ast/query.ts:258
The projection body containing items, ordering, skip, and limit.
where?
optionalwhere?:ASTNode
Defined in: lang-cypher/src/ast/query.ts:260
Optional WHERE filter applied after projection; undefined if absent.
Methods
accept()
accept<
Ret,Arg>(visitor,arg?):Ret
Defined in: lang-cypher/src/ast/query.ts:263
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