Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

代码报错启动不了 #68

Open
199206155416 opened this issue Jun 13, 2019 · 0 comments
Open

代码报错启动不了 #68

199206155416 opened this issue Jun 13, 2019 · 0 comments

Comments

@199206155416
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant