MongoDB Documents

From mi-linux
Revision as of 16:50, 18 October 2016 by Cm1958 (talk | contribs)
Jump to navigationJump to search

Main Page >> MongoDB >>MongoDB Workbook >> MongoDB Documents

Document Database

MongoDB is an example of a NoSQL Document database. This means in MongoDB, databases hold collections of documents. Each student has their own individual database, where documents can be created.

You can think of a record in MongoDB as being a document, which is a data structure composed of field and value pairs. MongoDB documents are similar to JSON objects. The documents can be complex, where the values of fields can include other documents, arrays and arrays of documents.