UnwindPart
age-schema-client / UnwindPart
Class: UnwindPart
Defined in: src/query/parts.ts:397
UNWIND query part
Extends
Constructors
Constructor
new UnwindPart(expression, alias): UnwindPart;
Defined in: src/query/parts.ts:419
Create a new UNWIND part
Parameters
| Parameter | Type | Description |
|---|---|---|
expression | string | Expression to unwind |
alias | string | Alias for unwound items |
Returns
UnwindPart
Overrides
Properties
| Property | Type | Default value | Description | Overrides | Defined in |
|---|---|---|---|---|---|
type | QueryPartType | QueryPartType.UNWIND | Query part type | BaseQueryPart.type | src/query/parts.ts:401 |
Methods
toCypher()
toCypher(): string;
Defined in: src/query/parts.ts:428
Convert to Cypher string
Returns
string
Overrides
getParameters()
getParameters(): Record<string, any>;
Defined in: src/query/parts.ts:435
Get parameters used in this query part
Returns
Record<string, any>