Skip to content
RED SAG Skills
easy5 pts · first answer countsdatabasesmongodb

Fields vanish after an update

After this call, a user document has lost its email and phone fields. Why?

await users.replaceOne({ _id: id }, { name: 'Aisha' })
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions