Class: ProjectionBody
Defined in: lang-cypher/src/ast/query.ts:209
Shared projection body for RETURN and WITH clauses.
Implements
Constructors
Constructor
new ProjectionBody(
items,order?,skip?,limit?,distinct?):ProjectionBody
Defined in: lang-cypher/src/ast/query.ts:210
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
items | ("*" | ASTNode | Aliased<ASTNode>)[] | undefined | Projection items: '*' wildcard, plain expressions, or aliased expressions. |
order | OrderItem[] | null | ORDER BY sort keys; null if no ordering is specified. |
skip | ASTNode | null | SKIP expression; null if absent. |
limit | ASTNode | null | LIMIT expression; null if absent. |
distinct | boolean | false | True when the DISTINCT modifier is present. |
Returns
ProjectionBody
Properties
distinct
distinct:
boolean=false
Defined in: lang-cypher/src/ast/query.ts:220
True when the DISTINCT modifier is present.
items
Defined in: lang-cypher/src/ast/query.ts:212
Projection items: '*' wildcard, plain expressions, or aliased expressions.
limit
limit:
ASTNode=null
Defined in: lang-cypher/src/ast/query.ts:218
LIMIT expression; null if absent.
order
order:
OrderItem[] =null
Defined in: lang-cypher/src/ast/query.ts:214
ORDER BY sort keys; null if no ordering is specified.
skip
skip:
ASTNode=null
Defined in: lang-cypher/src/ast/query.ts:216
SKIP expression; null if absent.
Methods
accept()
accept<
Ret,Arg>(visitor,arg?):Ret
Defined in: lang-cypher/src/ast/query.ts:223
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