Skip to main content

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​

ParameterTypeDescription
bodyProjectionBodyThe projection body containing items, ordering, skip, and limit.
where?ASTNodeOptional 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?​

optional where?: 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​

ParameterType
visitorCypherVisitor<Ret, Arg>
arg?Arg

Returns​

Ret

Implementation of​

ASTNode.accept