Skip to content

Invalid syntax #539

@howard-gleason

Description

@howard-gleason

Thanks for the recent grammar updates that have fixed other syntax errors. The following Cypher query is valid, however, openCypher throws a parse error

MATCH path=()-[]->()
RETURN relationships(path)[0].name

In order to get openCypher to parse it, parentheses have to be added:

MATCH path=()-[]->()
RETURN (relationships(path)[0]).name

Can or will this syntax be accepted into openCypher?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions