[HDGEM] How to import data to API for MongoDB of Microsoft Azure DocumentDB with mongoimport

To import data to your DocumentDB account, use the following template to execute the import. Fill in host, username, and password with the values that are specific to your account.


mongoimport --host <your_hostname>:10250 -u <your_username> -p <your_password> --db <your_database> --collection <your_collection> --ssl --sslAllowInvalidCertificates --type json --file /path/to/sample.json

Posted By Blogger to HDGEM at 3/21/2017 11:27:00 AM


Popular posts from this blog

Check MySQL query history from command line