Database Reference
In-Depth Information
Chapter 3
MongoDB Objects
This chapter will cover the core set of data modeling concepts along with their MongoDB
counterparts. We will start off with a comparison of data model, relational database, and
MongoDB terminology. We will then dive into the core set of MongoDB objects, each ex-
plained within its data modeling context. Objects include documents, collections, fields,
datatypes, and indexes. We will also show how to handle relationships, hierarchies, and re-
cursion in MongoDB. This table compares terms used for each object across the data model,
RDBMS, and MongoDB. We will discuss each of these terms within this chapter.
Data Model
RDBMS
MongoDB
Entity instance
Record or Row
Document
Entity
Table
Collection
Attribute or Data ele-
ment
Data
element,
Field
or
Field
Column
Attribute
value
or
Data element value, Field
value, or Column value
Field value
Data element value
Search WWH ::




Custom Search