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