- Mastering MongoDB 3.x
- Alex Giamas
- 106字
- 2021-08-20 10:10:45
MongoDB for SQL developers
MongoDB was developed in the Web 2.0 era. By then, most developers had been using SQL or Object-relational mapping (ORM) tools from their language of choice to access RDBMS data. As such, these developers needed an easy way to get acquainted with MongoDB from their relational background.
Thankfully, there have been several attempts at SQL to MongoDB cheat sheets that explain MongoDB terminology in SQL terms.
On a higher level there are:
- Databases, indexes just like in SQL databases
- Collections (SQL tables)
- Documents (SQL rows)
- Fields (SQL columns)
- Embedded and linked documents (SQL Joins)
Some more examples of common operations:
