LazyWebCypher is a simple way to execute multi-statement Cypher scripts (the kind with semicolons, ;) from the web. Currently the Neo4j Browser does not support this, so this is a lazy person's workaround...
Are you lazy? Do you write Cypher statements? Often multiple statement scripts that do things like CREATE INDEX
es and LOAD CSV
files? Then LazyWebCypher is for you.
A simple web app that facilitates executing loading and executing multiple statement Cypher scripts (the kind with semicolons) against a running instance of Neo4j, either local or a remote server.
You probably don't, however...
Often during an initial data import you want to execute a multiple statement Cypher script, usually with CREATE INDEX
andLOAD CSV
statments. Currently the Neo4j browser does not support executing multiple statement Cypher queries so you can either cut and paste your statements one at time or use something like neo4j-shell
. But if you're lazy, you're not gonna do that, you're gonna use LazyWebCypher!
LazyWebCypher does two things:
- Load Cypher files (from a quey param, local file, remote url, or manual editing)
- Execute multiple statement Cypher queries against a running Neo4j instnace
Simply supply the connection url (and optionally Username/Password credentials) for an existing Neo4j instance and your queries will be executed directly from the browser, one at a time. Note that each statement is executed in its own transaction, this serves two purposes:
CREATE INDEX
orCREATE CONSTRAINT
statements need to be executed in a separate transaction- Better support for data import
LOAD CSV
Cypher statements by breaking your script up into multiple transactions
What are some examples that I can use with LazyWebCypher?
Submit an issue or PR to add yours!
Tell me about it @lyonwj