The following table
shows the relationship of RDBMS terminology with MongoDB.
RDBMS
|
MongoDB
|
|---|---|
| Database | Database |
| Table | Collection |
| Tuple/Row | Document |
| column | Field |
| Table Join | Embedded Documents |
| Primary Key | Primary Key (Default key _id provided by mongodb itself) |
Database Server and Client
|
|
| Mysqld/Oracle | mongod |
| mysql/sqlplus | mongo |
-
Collection(Table) is a group of MongoDB documents(rows).
-
Documents(rows) within a collection(table) can have different fields(columns).
-
Document is a set of key-value pairs.
Resource Link: https://www.tutorialspoint.com/mongodb/mongodb_overview.htm
No comments:
Post a Comment