@mongodb-js/compass-import-export
Compass Import/Export Plugin
Last updated 22 days ago by addaleax .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mongodb-js/compass-import-export 
SYNC missed versions from official npm registry.

Compass Import/Export Plugin

mongoimport and mongoexport functionality in Compass.

Development

After cloning this repository and running npm install, you can try this plugin with a real MongoDB Server in electron by running:

DEBUG=mongo* npm start

You can also utilize Storybook when developing components:

npm run storybook;

Testing

npm test

Import Test Cases

See files in the ./test directory.

TODO/Ideas

  • [x] Import: Move away from state.fields being array of objects to using all array's of strings. For now, there is some duplication of fields+transforms+excludes we'll come back to and fixup.
  • [x] import-apply-type-and-projection supports nested dotnotation and only uses state.importData.transforms
  • [ ] Import and Export: New Option: If you need to specify extended-json legacy spec
  • [ ] Import: bson-csv: support dotnotation expanded from . .<bson_type>() caster like mongoimport does today
  • [ ] Import: Preview Table: Use highlight.js, mongodb-ace-mode, or something so the text style of the value within a cell matches its destination type
  • [ ] Export: Use electron add to destination file to recent documents
  • [ ] Import and Export: Show system notification when operation completes. like dropbox screenshot message. toast "XX/XX documents successfully"
  • [ ] Import: expose finer-grained bulk op results in progress -> "View Import Log File"
  • [ ] Import: New Option: drop target collection before import
  • [ ] Import: New Option: define import mode: insert, upsert, merge
  • [ ] Import: New Option: specify a different path for _id such as business_id in the yelp dataset
  • [ ] Import: Option for path to pass to JSONStream for nested docs (e.g. results array when fetching JSON from a rest api)
  • [ ] Import: New Option: Paste URL to fetch from
  • [ ] Import: Preview Table: use react-table and react-window for fixed headers and more # of documents to preview
  • [ ] Import: Preview Table: Allow transpose on fields/values so all type selection and projection is in a single left aligned list
  • [ ] Import: Multi file import via archive (supports gzip/zip/bzip2/etc.)
  • [ ] Import: Use schema parser or something later to handle complete tabular renderings of sparse/polymorphic
  • [ ] Import: Improve import-size-guesstimator
  • [ ] Import: guess delimiter in src/utils/detect-import-file.js
  • [ ] Import and Export: Extract anything from ./src/utils that could live as standalone modules so other things like say a cli or a different platform could reuse compass' import/export business logic and perf.
  • [ ] Refactor src/modules/ so import and export reuse a common base

License

Apache 2.0

Current Tags

  • 5.1.21                                ...           latest (22 days ago)

69 Versions

  • 5.1.21                                ...           22 days ago
  • 5.1.20                                ...           2 months ago
  • 5.1.19                                ...           4 months ago
  • 5.1.18                                ...           6 months ago
  • 5.1.17                                ...           7 months ago
  • 5.1.16                                ...           7 months ago
  • 5.1.15                                ...           7 months ago
  • 5.1.14                                ...           7 months ago
  • 5.1.13                                ...           7 months ago
  • 5.1.12                                ...           7 months ago
  • 5.1.11                                ...           7 months ago
  • 5.1.10                                ...           7 months ago
  • 5.1.9                                ...           7 months ago
  • 5.1.8                                ...           7 months ago
  • 5.1.7                                ...           9 months ago
  • 5.1.6                                ...           10 months ago
  • 5.1.5                                ...           10 months ago
  • 5.1.4                                ...           10 months ago
  • 5.1.3                                ...           10 months ago
  • 5.1.2                                ...           10 months ago
  • 5.1.1                                ...           10 months ago
  • 5.1.0                                ...           10 months ago
  • 5.0.6                                ...           10 months ago
  • 5.0.5                                ...           10 months ago
  • 5.0.4                                ...           10 months ago
  • 5.0.3                                ...           10 months ago
  • 5.0.2                                ...           10 months ago
  • 5.0.1                                ...           10 months ago
  • 5.0.0                                ...           10 months ago
  • 4.2.0                                ...           a year ago
  • 4.1.5                                ...           a year ago
  • 4.1.4                                ...           a year ago
  • 4.1.3                                ...           a year ago
  • 4.1.2                                ...           a year ago
  • 4.1.1                                ...           a year ago
  • 4.1.0                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.14                                ...           3 years ago
  • 0.0.13                                ...           3 years ago
  • 0.0.12                                ...           3 years ago
  • 0.0.11                                ...           3 years ago
  • 0.0.10                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 11
Dependencies (19)
Dev Dependencies (99)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |