How to use async/await with mongoose.createConnection() ? #12051
-
I've always used mongoose.connect() with async/await for querying and such. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
https://mongoosejs.com/docs/api.html#mongoose_Mongoose-createConnection
|
Beta Was this translation helpful? Give feedback.
https://mongoosejs.com/docs/api.html#mongoose_Mongoose-createConnection