1. Introduction
Benefits: neo4j is a high-performance nosql graph database that stores structured data on the network instead of tables
Second, installation and use
1. Download from the official website
2. Switch to the installation directory and run:
./neo4j start
3. View the port
neo4j console
4. Enter localhost: 7474 in the browser, the initial user name and password are neo4j
5. After use, enter ./neo4j stop to close the database
Note: Version 4.0.3 supports jvm11 Unable to find any JVMs matching version "11".
Three, basic commands
1. Create a label node
2. Add attributes to the node
3. Add attributes to existing nodes
4. Inquiry
Query node's age attribute
Query all attributes of a node
5. Relationship
Create a relationship
Delete the node under the corresponding attribute
Delete nodes with relationships
Delete attribute
The difference between delete and remove: