Add useCreateIndex to mongoose connection options (#21145)
To prevent `DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.`
Showing
Please
register
or
sign in
to comment
To prevent `DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.`