Neo4J Terms
Instead of having rows and columns, it has nodes, edges, and properties. It is more suitable for specific big data and analytics applications than row and column databases or free-form JSON document databases for many use cases.
A graph database is used to represent relationships. The most common examples of this are the Facebook Friend and Like relationships.
RDBMS (MySQL) | Neo4J |
---|---|
Rows | Nodes |
Tables | Labels |
Columns | Properties |
Foreign Key | Relationships |
SQL | CQL (Cypher Query Language) |
create database | create database |
show database | :dbs |
use database | :use database |
show tables | call db.labels() |
# Comments | // Comments |
CURRENT_USER() | call dbms.showCurrentUser() |
SELECT * from table | Match (n) return n |
Last updated