-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi,
another issue i found is that in roots i have no indication about relationships length range.
For example:
MATCH (actor)-[:TEST*1..3]-(movie)
RETURN movie.title
gives to me this roots object without *1..3 information :
[ { type: 'statement',
body:
{ type: 'query',
clauses:
[ { type: 'match',
optional: false,
pattern:
{ type: 'pattern',
paths:
[ { type: 'pattern-path',
elements:
[ { type: 'node-pattern',
identifier: { type: 'identifier', name: 'actor' },
labels: [] },
> { type: 'rel-pattern',
direction: 2,
reltypes: [ { type: 'reltype', name: 'TEST' } ] },
{ type: 'node-pattern',
identifier: { type: 'identifier', name: 'movie' },
labels: [] } ] } ] },
hints: [] },
{ type: 'return',
distinct: false,
includeExisting: false,
projections:
[ { type: 'projection',
expression:
{ type: 'property-operator',
expression: { type: 'identifier', name: 'movie' },
propName: { type: 'prop-name', value: 'title' } },
alias: { type: 'identifier', name: 'movie.title' } } ] } ],
options: [] },
options: [] } ]