Database Management MongoDB Subjective
Sep 25, 2025

What is a compound index?

Detailed Explanation
A compound index is an index on multiple fields: db.collection.createIndex({field1: 1, field2: -1})
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback