mongoDB

  • MongoDB

Get Index and Delete Index: MongoDB

We learnt the uses of having an index/key on our collection and how to create the index. Now, in this…

10 years ago
  • MongoDB

index creation: MongoDB

Lets learn to create index and to optimize the database in MongoDB. Creating "Database": "temp", "Collection": "no", and inserting 10…

10 years ago
  • MongoDB

index / key: MongoDB

Lets look at some basics of indexes in MongoDB. If we have 3 fields in a document - name, age,…

10 years ago
  • MongoDB

Multi-key Index: MongoDB

Lets learn about multikey indexes and how they are efficient in MongoDB. database name: daily collections: gadgets, users Insert documents…

10 years ago
  • MongoDB

Removing Documents: MongoDB

Lets learn how to remove documents from the collection using remove() and drop() methods. test database, names collection > db.names.find().pretty()…

10 years ago