Posted By

jerryvig on 01/22/12


Tagged

import csv mongodb mongo


Versions (?)

Mongodb Import CSV Example


 / Published in: Bash
 

This is an example of importing a CSV file into mongodb using the command line mongoimport tool.

  1. ./mongoimport -v -d morningstar -c yahoo_profile_info -f ticker_symbol,company_name,phone,fax,address,website,index_membership,sector,industry,full_time_employees --type csv --file /tmp/yahoo_profile_info.csv

Report this snippet  

You need to login to post a comment.