Answers for "mongodb export query result to json"

1

mongoexport csv with query

mongoexport -d database -c collection --type=csv --out file.csv --fields name,fromHour,fromMin,toHour,toMin --query '{"_id":"56a647bff167043ad6ee49c0"}'
Posted by: Guest on August-16-2020
0

mongoDb Importar json para DataBase

mongoimport --db test --collection user --drop --file ~/downloads/user.json
Posted by: Guest on August-19-2021
0

how to export mongodb database to json

sudo mongoexport --db newdb -c restaurants --out newdbexport.json
Posted by: Guest on August-09-2020

Code answers related to "mongodb export query result to json"

Browse Popular Code Answers by Language