Using the browser in 2.0, is there a way to create multiple Cypher queries using CREATE INDEX ON?
CREATE INDEX ON :Manufacturer(name)
CREATE INDEX ON :Brand(name)
which just returns an un-informative "syntax error" in the browser.
Tried as well:
CREATE INDEX ON :Manufacturer(name);
CREATE INDEX ON :Brand(name);
Even tried ',', the only way this works is by cut/paste each line, appears to be no way to combine them into one script, rather long and pointless as I'm sure there is a way of combining them. No?
A relationship connects two nodes — a start node and an end node. Just like nodes, relationships can have properties. Relationships between nodes are a key part of a graph database.
UNWIND expands a list into a sequence of rows.
The CREATE clause is used to create nodes and relationships.
Nope, you have to do them separately.
Update as of late 2018: in one of the recent releases (3.4 or 3.5, I think), they added a new option in the browser to "enable multi-statement query editor", which lets you do multiple statements at once.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With