Document in MongoDB
noun
say it: “DOK-yuh-ment in MONG-goh-DEE-BEE” /ˈdɑkjəmənt ɪn ˈmɑŋɡoʊˌdiˌbi/
One record in MongoDB, a JSON-like object with fields and a unique _id.
What is Document in MongoDB?
A MongoDB document is a JSON-like object stored as BSON, up to 16 MB, with an _id field that is unique in its collection.
{ _id: ObjectId('66f1...'), title: 'Pancakes', minutes: 20, tags: ['breakfast', 'quick'] }
In a sentence
- “Each plant is one document with a name, a price and an _id.”
- “A document can hold arrays and other objects, such as a vendor's products and farm.”
Level: Novice · More MongoDB terms at this level
Updated