i have a .csv file that holds person datas.A line for a person like this.
"20781","IN","Ms.","Roy","","Serrano","2002-04-16 00:00:00","[email protected]"
How can i give field names to mongoimport?
Field names -> id,type,firstname,middlename,lastname,modifieddate,e-mail.
you can do like Bellow
this will import your file as in one document.