MongoDB in Python
MongoDB stores documents, not rigid SQL tables. Python talks to it with PyMongo. A document looks like a dict: {"name": "Asha", "marks": 90}. Collection is the table idea. insert_one, find, update_one, delete_one are the CRUD verbs. Good when shapes vary — one student has email, another doesn’t.
Document vs row: dict vs fixed columns. Don’t pretend Mongo is MySQL with different spelling. Say when you’d pick it — flexible records — and when SQL joins matter more.
MongoDB in Python — output — Asha 90. A Mongo document is a dict. insert_one sends that dict.
Document vs relational row.