libcypher-parser icon indicating copy to clipboard operation
libcypher-parser copied to clipboard

Neo4j 4 database management commands unimplemented

Open johannessen opened this issue 4 years ago • 0 comments

Neo4j 4 offers new syntax for database management that I suppose libcypher-parser doesn’t know about yet.

Reproduce

Running libcypher-parser 0.6.2 via @majensen’s fork majensen/libneo4j-client@7bd6dfd7f948bf390a0f17d00de4f82014405b58:

neo4j> :status
Connected to 'neo4j://neo4j@localhost:7687' (insecure) [Neo4j/4.2.1]
neo4j> :dbname system
db set
neo4j> SHOW DEFAULT DATABASE;

Expected

"name","address","role","requestedStatus","currentStatus","error"
"neo4j","localhost:7687","standalone","online","online",""

Actual

<interactive>:1:2: error: Invalid input 'H': expected 't/T' or 'e/E'
SHOW DEFAULT DATABASE
 ▲

johannessen avatar Jan 05 '21 12:01 johannessen