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

whats the difference with official mongoJS drivers? #290

Open
dcsan opened this issue Feb 28, 2016 · 3 comments
Open

whats the difference with official mongoJS drivers? #290

dcsan opened this issue Feb 28, 2016 · 3 comments

Comments

@dcsan
Copy link

dcsan commented Feb 28, 2016

they now have 2.1 + drivers that support promises etc. with so many differnet options it would help to know what the key points are.

@saintedlama
Copy link
Collaborator

The key point of mongojs is that it tries to follow the mongodb cli interface as much as possible ➕ handling connection management for you.

@Earl-Brown
Copy link

One notable difference is that the "promise-if-no-callback" feature is not supported. (at least not for cursors)

Mongojs requires callbacks for - near as I can tell - Cursor.prototype.*()

@countable
Copy link
Contributor

Although, the behavior of providing a promise when there's no callback is proposed in this PR

#368

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

4 participants