-
Notifications
You must be signed in to change notification settings - Fork 256
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
MongoJS supports bulk updates? #152
Comments
This is not supported yet. We'll keep this issue open and discuss what would be the best way to implement this without getting too far away from the mongo shell API. |
Small update, I found this API on the mongo shell docs. http://docs.mongodb.org/manual/reference/method/js-bulk/ This is the way the shell supports bulk operations, and as always, we would like to keep the api as close to the shell as possible, so this is the API we will be implementing in mongojs. |
And that would include the initializeUnorderedBulkOp() function as mentioned in the example. |
I just added this feature and published it in |
Great job. Thanks for the fast response! |
MongoJS does not seem to support bulk updates using "collection.initializeUnorderedBulkOp()", while the regular mongodb driver does.
See http://stackoverflow.com/questions/25990630/node-mongojs-and-bulk-operations for example code.
Will this be added to MongoJS ?
Or is it already there and I am not using it in the correct way?
The text was updated successfully, but these errors were encountered: