Execute a cql script from neo4j shell

  Kiến thức lập trình

I am using neo4j-community-3.0.4 in linux and I am load to execute cql file in neo4j using command
a.cql

CREATE (this_s:Student { Name:’Sam’, Title:’title’, })

./bin/neo4j-shell -v -c < /root/a.cql

It gives output

+--------------------------------------------+
| No data returned, and nothing was changed. |
+--------------------------------------------+
648 ms
neo4j-sh (?)$
neo4j-sh (?)$ //----------------------------------------------------------

But when I am trying to access the data using browser portal http://localhost:7474/browser/
I am not able to retrieve any data nor in left pane Database information I dont see the node getting created

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT