Skip to content
RED SAG Skills
medium10 pts · first answer countsdatabasesmongodbindexes

Ordering fields in a MongoDB index

The query is find({ status: 'open', amount: { $gt: 1000 } }).sort({ createdAt: -1 }). Following the ESR guideline, which compound index is best?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions