PathPart
age-schema-client / PathPart
Class: PathPart
Defined in: src/query/path.ts:25
Path part class
Implements
Constructors
Constructor
new PathPart(pattern, alias): PathPart;
Defined in: src/query/path.ts:47
Create a new path part
Parameters
| Parameter | Type | Description |
|---|---|---|
pattern | string | Path pattern |
alias | string | Path alias |
Returns
PathPart
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
type | QueryPartType | QueryPartType.MATCH | Query part type | src/query/path.ts:29 |
Methods
toCypher()
toCypher(): string;
Defined in: src/query/path.ts:55
Convert to Cypher string
Returns
string
Implementation of
getParameters()
getParameters(): Record<string, any>;
Defined in: src/query/path.ts:62
Get parameters used in this query part
Returns
Record<string, any>