mako base
The base
module can start a Neo4j Desktop if no Neo4j Desktop process has been started already, or safely shut down Neo4j Desktop if the process has been stored and the process ID is available in the config file. Additionally, the module can clear the database or check constraints.
If connecting to a Docker instance or other running instance of Neo4j, only the -clear
and -check
functions of the base
module are relevant.
-n
Filepath to neo4j folder (only relevant for running Neo4j desktop)-start
Start Neo4j Desktop. Flag-cf
to store process ID-clear
Clears running Neo4j database-quit
Uses stored process ID in config to safely shut down Neo4j desktop-check
Checks if relationships in the database violate database schema constraints