Open 199206155416 opened 5 years ago
mongoose .connect(this.dblink, opts) .connection .on('error', err => console.log('------ Mongodb connection failed ------' + err)) .on('open', () => console.log('------ Mongodb connection succeed ------'))
代码报错, collection is undefined
代码报错, collection is undefined