Home > database >  Mongo following the leftmost prefix index
Mongo following the leftmost prefix index

Time:10-19

Build a composite index for mongo db. Test. EnsureIndexes ({" x ": 1," y ": 1}), then the theory can be used to index x and x, y index, but the actual printing in the database index, can only see the x, y index, then x index effect?
  • Related