http://docs.mongodb.org/manual/reference/sql-comparison/
SQL Terms/Concepts MongoDB Terms/Concepts database database table collection row document or BSON document column field index index table joins embedded documents and linking
primary key
Specify any unique column or column combination as primary key.
In MongoDB, the primary key is automatically set to the_id field.
aggregation (e.g. group by)
aggregation pipeline
See the SQL to Aggregation Mapping Chart.
本文对比了SQL与MongoDB的概念,如数据库、表、记录等,并详细解释了两者之间的主要区别,例如表联接在MongoDB中如何通过嵌入文档和链接实现。
5万+

被折叠的 条评论
为什么被折叠?



