exporting and importing com.mongodb.BasicDBList in mongodb to csv -
how export , import com.mongodb.basicdblist mongodb csv . able export when import not written in same format. data in mongo db in format
#"orderitem" : [ { "asin" : "b00gn7ilve" }, { "asin" : "b0006o2s1e"}, { "asin" : "b00fpqxpkq" }, { "asin" : "b003riubj2"}]
#changes "orderitem" : {"0":{"asin" : "b00gn7ilve" },"1": { "asin" : "b0006o2s1e"}, "2":{ "asin" : "b00fpqxpkq" }, "3":{ "asin" : "b003riubj2"}}
in fieldsfile input export refer orderitem orderitem.0 , orderitem.1 on.
Comments
Post a Comment