We've seen the working of explain() method briefly in previous video tutorials - in this video tutorial lets dive in…
We know the uses of index, how to create indexes, how to delete indexes - now its time to learn…
All sparse indexes are unique index, but not all unique indexes are sparse! There are situations where we want to…
We learnt how to create unique key/index using {unique: true} option with ensureIndex() method. Now lets see how we can…
We have learnt how to create a key/index so far - today lets learn how to create unique key/index in…
We have learnt the basics of multi-key indexes in MongoDB. Lets look at an example to demonstrate the multi-key indexing…
We learnt the uses of having an index/key on our collection and how to create the index. Now, in this…
Lets learn to create index and to optimize the database in MongoDB. Creating "Database": "temp", "Collection": "no", and inserting 10…
Lets look at some basics of indexes in MongoDB. If we have 3 fields in a document - name, age,…
Lets learn about multikey indexes and how they are efficient in MongoDB. database name: daily collections: gadgets, users Insert documents…