Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reset code macro

  • Loading branch information...
commit c68006a3b0d658e7a1c20148744ca0d4c4280468 1 parent 686d4bd
Nigel Small authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  tutorials/01.getting_started.creole
View
2  tutorials/01.getting_started.creole
@@ -12,7 +12,6 @@ graph_db = neo4j.GraphDatabaseService("http://localhost:7474/db/data/")
Once a connection has been established, nodes can be added to the graph using one of several methods. To create a single node, the {{{create_node}}} method can be used. If more than one node needs to be added, it is more efficient to use the batch creation method {{{create_nodes}}}. Finally, a Cypher {{{CREATE}}} statement can also be used. The code below illustrates these three node creation methods:
{{{
-<<code lang="python">>
# create one node
a = graph_db.create_node({"name": "Alice"})
@@ -27,6 +26,5 @@ from py2neo import cypher
query = "create d = {name: 'Dave'} return d"
data, metadata = cypher.execute(graph_db, query)
d = data[0][0]
-<</code>>
}}}
Please sign in to comment.
Something went wrong with that request. Please try again.