MongoDB Documents

From mi-linux
Revision as of 17:49, 18 October 2016 by Cm1958 (talk | contribs) (Created page with " == 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 indiv...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


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.