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
1364
-
* toCreate; // Array of strings containing names of indexes that `syncIndexes()` will create
1364
+
* toCreate; // Array of index specs containing the keys of indexes that `syncIndexes()` will create
1365
1365
*
1366
1366
* @param {Object} [options]
1367
+
* @param {Boolean} [options.indexOptionsToCreate=false] If true, `toCreate` will include both the index spec and the index options, not just the index spec
1367
1368
* @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