April 2026
Intermediate
1009 pages
34h 15m
English
As a NoSQL database, MongoDB works a little differently from the usual relational systems. In particular, the terms are different because documents are stored, not data records—not to mention relations. For this reason, Table 24.1 compares some terms.
|
Relational Database |
MongoDB |
|---|---|
|
Database |
Database |
|
Table |
Collection |
|
Data set |
Object/document |
Table 24.1 Terms of Relational Databases and MongoDB in Comparison
We therefore first need a database in which we create a collection into which documents (or objects) are then inserted.
By default, MongoDB runs under port 27017 on the local computer. These are also the settings that the PHP extension requires by ...
Read now
Unlock full access