Skip to content

Commit ca8b52d

Browse files
vkarpov15hasezoey
andauthored
Update lib/model.js
Co-authored-by: hasezoey <[email protected]>
1 parent 100e896 commit ca8b52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ function getIndexesToDrop(schema, schemaIndexes, dbIndexes) {
14441444
* @param {Object} [options]
14451445
* @param {Array<String>} [options.toDrop] if specified, contains a list of index names to drop
14461446
* @param {Boolean} [options.hideIndexes=false] set to `true` to hide indexes instead of dropping. Requires MongoDB server 4.4 or higher
1447-
* @return {Promise<String>} list of dropped index names
1447+
* @return {Promise<String>} list of dropped or hidden index names
14481448
* @api public
14491449
*/
14501450

0 commit comments

Comments
 (0)