MongoDB card revieweasy

What are Collections and Documents in MongoDB?

A Collection in MongoDB is similar to a table in relational databases. A Document is similar to a row and stores data in BSON format. Collections can contain documents with different structures, providing flexibility for evolving applications.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.