Indexing (1/7)
What are indexes?
    In MongoDB, indexes are data structures that store a small portion of the collection's data, enabling efficient query execution by allowing MongoDB to quickly locate documents without scanning the entire collection.
    • Indexes support efficient execution of queries in MongoDB.
    • Without indexes, MongoDB must scan every document in a collection to return query results.
    • MongoDB uses the index to limit the number of documents it must scan.