Menu

Abstraction of MongoDB
πŸ“°

Abstraction of MongoDB

DEV Community: mongodbΒ·Neel-VekariyaΒ·6 days ago
#TZmMwteb
#devtomongodb#devto#dev#abstraction#mongodb
Long article (297 words) β€” no AI summary yet.
Reading 0:00
15s threshold

I have a question. Why is everyone in tech obsessed with abstraction?

Almost everything is an abstraction over some complex or repetitive task.

Some abstractions remove repetitive tasks, while others hide complexity and provide simpler ways to do that work.

But this abstraction comes with some cost. We'll discuss that cost some other day.

MongoDB is also an abstraction that provides a simpler way to store and work with data.

And this abstraction starts with its core concept: documents.

What does that mean? Don't be confused.

It means you can store user data in one document, product data in another document, and if you need to store other details, like orders, you can store them in separate documents.

You don't need to worry about how MongoDB stores this data at the physical or low level. MongoDB manages how the data is stored internally. This gives you the document abstraction.

Now, the second main abstraction is tables and relationships.

Think in terms of a relational database.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.