Skip to main content
Version: 0.3.0

PathPart

age-schema-client v0.3.0


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

ParameterTypeDescription
patternstringPath pattern
aliasstringPath alias

Returns

PathPart

Properties

PropertyTypeDefault valueDescriptionDefined in
typeQueryPartTypeQueryPartType.MATCHQuery part typesrc/query/path.ts:29

Methods

toCypher()

toCypher(): string;

Defined in: src/query/path.ts:55

Convert to Cypher string

Returns

string

Implementation of

QueryPart.toCypher


getParameters()

getParameters(): Record<string, any>;

Defined in: src/query/path.ts:62

Get parameters used in this query part

Returns

Record<string, any>

Implementation of

QueryPart.getParameters