MCQs > IT & Programming > MongoDB > Which is the correct calling of creating an index?

MongoDB MCQs

Which of the following is the correct calling of creating an index?

Answer

Correct Answer: db.somecollection.ensureIndex({key:1}, { expireAfterSeconds: 3600 });

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

MongoDB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

MongoDB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it