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

fix: pipe option -o #118

Merged
merged 4 commits into from
Jun 30, 2022
Merged

fix: pipe option -o #118

merged 4 commits into from
Jun 30, 2022

Conversation

Tarrask
Copy link
Contributor

@Tarrask Tarrask commented Jun 29, 2022

This is a fix for issue #76.
In mongodb 4, the result object returned by insertOne does not contain the ops array anymore.

This fix use the original log object of the insert function to output it on the console when the -o option is defined

dependabot bot and others added 4 commits June 29, 2022 10:23
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@v1...v2)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This is a fix for issue pinojs#76.
In mongodb 4, the result object returned by insertOne does not contain the ops array anymore.

This fix use the original log object of the insert function to output it on the console when the -o option is defined
@mcollina mcollina merged commit a1f6990 into pinojs:master Jun 30, 2022
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

Successfully merging this pull request may close these issues.

2 participants