jexp / neo4j-shell-tools

A bunch of import/export tools for the neo4j-shell
289 stars 55 forks source link

Cannot use "-" sign in query #116

Closed gmiejski closed 6 years ago

gmiejski commented 7 years ago

When using "-" sign in cypher, the tool thinks you're trying to add another option and returns error "Unrecognized option 'xxx'.

For example when you want to use where clause like node.property > -1 - this will throw error "Unrecognized option '1'"

Haven't yet looked into code yet, but seems trivial fix to stop parsing options after first not option.

gmiejski commented 7 years ago

Could you make a quick test and check if the problem comes from neo4j AppCommandParser or not?

jexp commented 7 years ago

Which feature do you use? Could you use APOC within Cypher to achieve the same?

gmiejski commented 6 years ago

So old I dont remember what was it about. Closing.