Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.17 KB

Basic_CRUD,_Projection,_Embedded_Nested_Documents.md

File metadata and controls

29 lines (17 loc) · 1.17 KB

Basic CRUD, Projection, Embedded/Nested Documents, Array

💡 On the MongoDB server, there may be one or more MongoDB databases and each database can hold one or more collections(collection like a table in SQL).

Collection ⇒ This has multiple documents per collection. Document ⇒ Data pieces stored in a database. The collections and documents are all automatically created implicitly. JOSN VS BSON ⇒ Modified version of JSON with _id: ObjectId("5f12a043feace8e519f293ed") and also store big number not like JSON(little bit differently). Details number types. Binary Data.

CRUD

Create/Insert

Read ⇒ find

Update

Delete

Others

Projection

Embedded/Nested Documents

Array