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

Mongo "pushResults" option #119

Open
aterna01 opened this issue Jul 30, 2021 · 0 comments
Open

Mongo "pushResults" option #119

aterna01 opened this issue Jul 30, 2021 · 0 comments

Comments

@aterna01
Copy link

Hi and thank you for the package!
Observed a small typo in the readMe. As per docs if want to stream down the result of the mongo operation then need to pass extra option {"pushResults": true}. However the correct option is {"pushResult": true}

.pipe(etl.mongo.update(collection, ["_id"], {"pushResult": true}))
.pipe(etl.map(mongoResult => {
      
}))
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