Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mongodb export to csv

mongoexport --host localhost --db dbname --collection name --csv --out text.csv --fields firstName,middleName,lastName
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongodb #export #csv
ADD COMMENT
Topic
Name
3+1 =