About 383,000 results
Open links in new tab
  1. MongoDB: Best practices to name collections and fields

    Feb 3, 2024 · In conclusion, adhering to best practices in naming conventions for collections and fields in MongoDB is essential for creating a scalable, maintainable, and comprehensible …

  2. Databases and Collections in MongoDB

    Enter the database and the collection name to create the database and its first collection.

  3. MongoDB Collection and Database Naming Conventions- Best …

    Learn MongoDB Collection and Database Naming for Database Instances, collections, or field names with real-life examples and details on symbols.

  4. What are Naming Conventions for MongoDB? - GeeksforGeeks

    Jul 23, 2025 · Naming conventions as the guiding principles that explain how we name collections, databases, fields, and indexes within MongoDB. They are not just rules they hold …

  5. What are naming conventions for MongoDB? - Stack Overflow

    Lowercase names: avoids case sensitivity issues, MongoDB collection names are case sensitive. Plural: more obvious to label a collection of something as the plural, e.g. "files" rather than "file"

  6. Best Practices for MongoDB naming Conventions - w3resource

    Dec 16, 2024 · Learn MongoDB naming conventions for collections, fields, and indexes. Improve database readability with camelCase fields, lowercase collection names, and clear index names.

  7. Is there a convention to name collection in MongoDB?

    Mar 26, 2012 · Since database names are case insensitive in MongoDB, database names cannot differ only by the case of the characters. Because of them, try to name all your collection in …

  8. What is a collection in MongoDB? - GeeksforGeeks

    Jul 23, 2025 · In this article, we will learn about the collection in MongoDB. We will also learn about document storage, schema-less nature, namespace, dynamic creation, indexing, and …

  9. db.getCollectionNames () (mongosh method) - MongoDB Docs

    Returns an array containing the names of all collections and views in the current database, or if running with access control, the names of the collections according to user's privilege.

  10. Mongoose: How to use singular name for collection

    Dec 31, 2023 · This tutorial dissects Mongoose methods for defining a singular collection name for MongoDB through code examples, showcasing methods from basic to advanced while …