Learn
Mongoose Fundamentals
Mongoose Collections & Documents
Mongo stores data in ‘binary’ JSON (BSON) documents. BSON documents have a similar structure to JavaScript objects.
MongoDB stores documents in a collection. A MongoDB database is made up of these collections of documents.
A Mongo collection is like a table in a spreadsheet or relational database — each document is like a row in the spreadsheet.
Documents contain one or more key/value pairs. Each key has a corresponding value of a specified data type, like array, number, or string. MongoDB organizes documents with similar structure into collections.