Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paoliniluis/mongodb_to_postgresql
A simple script that will grab an entire collection and will insert it into a PostgreSQL table
https://github.com/paoliniluis/mongodb_to_postgresql
Last synced: 7 days ago
JSON representation
A simple script that will grab an entire collection and will insert it into a PostgreSQL table
- Host: GitHub
- URL: https://github.com/paoliniluis/mongodb_to_postgresql
- Owner: paoliniluis
- License: mit
- Created: 2020-09-12T19:32:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T18:54:54.000Z (over 4 years ago)
- Last Synced: 2024-11-07T06:47:34.621Z (about 2 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mongodb_to_postgresql
A simple script that will grab an entire collection and will insert it into a PostgreSQL table with streams
1 - enter the info in the config json
2 - configure the projections to get from mongo
3 - do npm i && node mongo_to_postgres.jsEverything is done with streams, so it won't blow up your RAM :)