Skip to content

Get mongo data squash #150

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ykangpark
Copy link

No description provided.

israelhsu and others added 3 commits February 21, 2025 17:48
- Make getMongoData.js stream json output instead of building the whole array in-memory.
  -  `updateDataInfoAsIncomplete` is removed, on exceeding `_maxCollections`, subsections are no longer renamed to prefix "INCOMPLETE\_". Instead, the last array element contains an error message.
- Add `_printWiredTigerDetails` option to remove wired tiger details
- Add `_verbose` option to remove
  - redundant fields on each array element (tag, ref, version, etc.)
  - unnecessary fields in command responses ($clusterTime,...)
- Add `_suppressError` option to keep the output parsable JSON even in the presence of an error.
  - To be combined with `mongo --quiet`
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.

3 participants