Question:

Explain the covered query in MongoDB.

Answer:

A query is called covered query if satisfies the following two conditions:

  • The fields used in the query are part of an index used in the query.
  • The fields returned in the results are in the same index.

Keywords:

© 2017 QuizBucket.org