From the course: MongoDB Essential Training
Unlock the full course today
Join today to access over 24,000 courses taught by industry experts.
Challenge: Indexes - MongoDB Tutorial
From the course: MongoDB Essential Training
Challenge: Indexes
(electronic music) - [Educator] In this exercise, I'm going to ask you to create a database for a phone number lookup app. The app should allow you to enter either a name or a phone number to get the full contact details for a business. The database should be called lookup. The collection should be called records and include a few records. Add indexes on the fields you think may require it.