DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Databases Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Databases
What happens in MongoDB if you perform an update without using an update operator like `$set`?
A
The update query fails with a syntax validation error
B
MongoDB merges the new fields into the existing document automatically
C
The matched document is completely overwritten by the new object, erasing unspecified fields
D
The document is duplicated in the collection
Check Answer