Skip to content

supported options connect mongoose #121

@Erick-Marinho

Description

@Erick-Marinho

According to the documentation useNewUrlParser, useUnifiedTopology, useFindAndModify, and useCreateIndex are no longer supported. Mongoose 6 always behaves as if useNewUrlParser, useUnifiedTopology and useCreateIndex are true, and useFindAndModify is false. So it asks us to remove these options from our code. When trying to connect to the DB, but precisely with useCreateIndex our code will not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions