Skip to content

Neo4j 4 database management commands unimplemented #39

@johannessen

Description

@johannessen

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@7bd6dfd:

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
 ▲

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions