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

Adding output to the mongo-out nodes #9

Open
ozomer opened this issue Mar 14, 2015 · 0 comments
Open

Adding output to the mongo-out nodes #9

ozomer opened this issue Mar 14, 2015 · 0 comments

Comments

@ozomer
Copy link

ozomer commented Mar 14, 2015

The node-mongodb-native package is using callbacks for the write commands, with values that can be useful.
For example, when a save command finished and we want to know if it inserted a new document or updated an existing one - the callback is called with the new document on inserting or with 1 on update.

I agree that when a callback is called with an error, the error should simply be logged.

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

1 participant