Default value for option "useCreateIndex" is inconsistant in documentation #10033
Labels
docs
This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone
Do you want to request a feature or report a bug?
A documentation issue
What is the current behavior?
The default value for
useCreateIndex
inMongoose.prototype.connect()
istrue
.The default value for
useCreateIndex
inMongoose.prototype.set()
isfalse
.If I don't explicitly provide the option in
connect
norset
, what is its default value?If the current behavior is a bug, please provide the steps to reproduce.
N/A
What is the expected behavior?
The default value should be the same.
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
The current documentation is for Mongoose 5.12.0
The text was updated successfully, but these errors were encountered: