EdgePattern
age-schema-client / EdgePattern
Interface: EdgePattern
Defined in: src/query/types.ts:101
Edge pattern
Extends
Properties
| Property | Type | Description | Overrides | Defined in |
|---|---|---|---|---|
type | EDGE | Pattern type | MatchPattern.type | src/query/types.ts:105 |
label | string | Edge label | - | src/query/types.ts:110 |
alias | string | Edge alias | - | src/query/types.ts:115 |
fromVertex | VertexPattern | Source vertex pattern | - | src/query/types.ts:120 |
toVertex | VertexPattern | Target vertex pattern | - | src/query/types.ts:125 |
direction | "OUTGOING" | "INCOMING" | "BIDIRECTIONAL" | Edge direction | - | src/query/types.ts:130 |
properties? | Record<string, any> | Property constraints | - | src/query/types.ts:135 |
Methods
toCypher()
toCypher(): string;
Defined in: src/query/types.ts:70
Convert to Cypher string
Returns
string