Scalable document-oriented NoSQL database
MongoDB stores records in flexible BSON documents. It allows developers to store hierarchical object structures directly without compiling rigid database table schemas.
db.users.insertOne({
name: "John Doe",
email: "john@example.com",
roles: ["developer", "admin"]
});