Skip to content

Commit 8121b8a

Browse files
authored
Add files via upload
1 parent ed3f6cf commit 8121b8a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

create single node.png

12.1 KB
Loading

neomodel_create-single-node.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from neomodel import config
2+
from neomodel import db
3+
4+
config.DATABASE_URL = 'bolt://neo4j:password123@localhost:7687'
5+
config.ENCRYPTED_CONNECTION = False
6+
7+
dbquery = "CREATE (n:Person { name: 'Alex', title: 'intern' })"
8+
db.cypher_query(dbquery, None)
9+
10+

0 commit comments

Comments
 (0)