cleishm / libcypher-parser

Cypher Parser Library
Apache License 2.0
147 stars 39 forks source link

ASC or DESC in the return clause #47

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi,

Is ASC/DESC not implemented yet? I use your parser in my project and have tested some queries. Here one of the test queries: MATCH (n:N),(m:M) WHERE n.num = m.num RETURN n.num ASC and here are the last three lines of the parser:

@23  47..50  > > > > > prop name     `num`
@24  45..51  > > > > identifier      `n.num`
@25  51..55  > > error               >>ASC\n<<

Will this feature come in the next time?

-Daizy

ghost commented 2 years ago

I forget something in the query. My fault. Sorry for that.