Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db.open() is not a function #129

Open
Kaushal28 opened this issue Feb 26, 2018 · 1 comment
Open

db.open() is not a function #129

Kaushal28 opened this issue Feb 26, 2018 · 1 comment

Comments

@Kaushal28
Copy link

Kaushal28 commented Feb 26, 2018

I'm following the example give in readme. But I'm getting error of db.open() is not a function. Please update the examples as per the new version on mongodb if it the version problem.

@stelapo
Copy link

stelapo commented Mar 6, 2018

Try:

db.on('open', function() { //do something });

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

No branches or pull requests

2 participants