Created
May 17, 2019 18:33
-
-
Save AndrewUsher/fb9e62681d83c45e3f59b7b19d0278e7 to your computer and use it in GitHub Desktop.
Add JSON File to MongoDB DB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongoimport --db <db-name> --collection <coll-name> --type json --file file.json | |
--jsonArray |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment