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

Override Mongo.Collection.prototype #7

Closed
theodorDiaconu opened this issue Nov 1, 2016 · 0 comments
Closed

Override Mongo.Collection.prototype #7

theodorDiaconu opened this issue Nov 1, 2016 · 0 comments

Comments

@theodorDiaconu
Copy link
Contributor

Modify the prototype so:

Collection.update(selector, modifier)
->
makes the update -> sends changes for each element individually to redis

Collection.update(selector, modifier, callback)
->
hooks into callback and works as it should, original callback will be started after redis push
StorytellerCZ added a commit that referenced this issue Jun 10, 2023
fix: missing s in collection name
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