Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building web applications with Python and Neo4j
  • Table Of Contents Toc
  • Feedback & Rating feedback
Building web applications with Python and Neo4j

Building web applications with Python and Neo4j

By : Sumit Gupta
4.3 (3)
close
close
Building web applications with Python and Neo4j

Building web applications with Python and Neo4j

4.3 (3)
By: Sumit Gupta

Overview of this book

If you are a Python developer and want to expand your understanding of Python-based web applications over Neo4j graph data models, this is the book for you.
Table of Contents (9 chapters)
close
close
8
Index

Creating nodes and relationships

In this section, we will discuss the various syntactical details for creating nodes and relationships using Cypher.

Nodes and relationships are the two most important elements of Neo4j graph databases. They are created using the CREATE clause of Cypher. Let us move forward and understand the process of creating nodes and relationships using Cypher.

Working with nodes

Node is one of the core elements of Neo4j database. Every other element of Neo4j is either connected to nodes or is used to enhance the definition/description of a node. Let us delete the existing data, which we created in the previous chapter from our Neo4j database, and then see the step-by-step process of creating nodes.

Perform the following steps to clean up your Neo4j database:

  1. Open your Linux console or shell and execute <$NEO4J_HOME>/bin/neo4j-shell.
  2. Execute the following Cypher queries to delete the data from the Neo4j database:
    MATCH (n)-[r]-(n1) delete r,n.n1;
    MATCH n delete n;
  3. And...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building web applications with Python and Neo4j
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon