Data Model Hierarchy of Mongo Database

Data Model Hierarchy of Mongo Database

Data Model Hierarchy of Mongo Database:
  • A Mongo system holds a set of databases (for e.g. databases in SQL Server)
  • A database holds a set of collections
  • A collection holds a set of documents (tables in SQL Server)
  • A document is a set of fields (for e.g. attributes in tables)
  • A field is a key-value pair
  • A key is a name (string)
  • A value is a basic type like string, integer, float, timestamp, binary or a document, or an array of values (for e.g. Datatype in SQL Server)
Ebook Download
View all
Learn
View all