Home » NoSQL » Neo4j » Neo4j jump start : Part 2-Creating Node

Neo4j jump start : Part 2-Creating Node

After successfull instalation, the next step is to create a node (and we will continue with creating relationship in the next post). In Neo4J, a node consist of none or many attribute(s) and label. Here is an example of creating a “Book” node :

CREATE (p:Person {name:"Panji" , job : "developer"} ) RETURN p;Watch Full Movie Online Streaming Online and Download

In this node, a node labelled with ‘Person’ has two attributes, name and job. Remember that unlike relational database, Neo4J has no strict attributes definition. It means there may several attributes diferrences in each node. This feature add flexibility in creating a data definition but you should be aware of the query to retrieve each attribute.

For further information of creating a node, please visit this URL.

 


Leave a comment

Your email address will not be published. Required fields are marked *