Skip to content

CRUD Operations

Course: MongoDB, Zod, Error handling and Input validation - chapter 6

CRUD operations in MongoDB refer to the basic operations you can perform on documents within a MongoDB database. CRUD stands for:

  1. Create: Adding new documents to a collection.
  2. Read: Retrieving documents from a collection.
  3. Update: Modifying existing documents in a collection.
  4. Delete: Removing documents from a collection.