Collections

MongoDB stores data as documents, and a collection is a group of these documents. A schema defines the structure of the data, while permissions determine which users can read, create, update, or delete data.

{
    "collections": {
        "users": {
            "schema": {},
            "permissions": {}
        },
        "todos": {
            "schema": {},
            "permissions": {}
        }
    }
}
Edit this page on Github
© 2025 kav3.com. Crafted with and dedication.