Skip to content

Commit

Permalink
docs: quick update to syncIndexes() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Aug 23, 2023
1 parent bc2e02d commit 0f939e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -1481,9 +1481,7 @@ Model.syncIndexes = async function syncIndexes(options) {
};

/**
* Does a dry-run of Model.syncIndexes(), meaning that
* the result of this function would be the result of
* Model.syncIndexes().
* Does a dry-run of `Model.syncIndexes()`, returning the indexes that `syncIndexes()` would drop and create if you were to run `syncIndexes()`.
*
* @param {Object} [options]
* @returns {Promise} which contains an object, {toDrop, toCreate}, which
Expand Down

0 comments on commit 0f939e2

Please sign in to comment.