Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to create index after every query insert?



How to create index after every query insert?..

Answer / Rakesh Kumar Rajak

In MongoDB, you cannot create an index that is automatically updated after every insert. However, you can use the `ensureIndex` method to create an index and then periodically update it using a script or cron job.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

How to use mongoose with node.js?

1 Answers  


Is mongodb better than mysql? Explain

1 Answers  


Is mongodb a relational database? Explain

1 Answers  


What is storage engine in mongodb?

1 Answers  


Which all languages can be used with mongodb?

1 Answers  


Is mongodb encrypted?

1 Answers  


Is mongodb a server?

1 Answers  


What is the benefit of mongodb?

1 Answers  


How many employees does mongodb have?

1 Answers  


Why would you use mongodb?

1 Answers  


What is the use of mongodb compass?

1 Answers  


How big can a mongodb be?

1 Answers  


Categories