You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* toDrop; // Array of strings containing names of indexes that `syncIndexes()` will drop
1501
+
* toCreate; // Array of strings containing names of indexes that `syncIndexes()` will create
1502
+
*
1486
1503
* @param {Object} [options]
1487
-
* @returns {Promise} which contains an object, {toDrop, toCreate}, which
1488
-
* are indexes that would be dropped in MongoDB and indexes that would be created in MongoDB.
1504
+
* @return {Promise<Object>} contains the indexes that would be dropped in MongoDB and indexes that would be created in MongoDB as `{ toDrop: string[], toCreate: string[] }`.
0 commit comments