How to export JSON from MongoDB using Robomongo

前端 未结 14 776
暗喜
暗喜 2021-01-30 01:37

So I do not know much about MongoDB. I have RoboMongo using which I connect to a MongoDB. What I need to do is this - there is a collection in that Mon

14条回答
  •  旧巷少年郎
    2021-01-30 02:01

    Solution:

    mongoexport --db test --collection traffic --out traffic.json

    Where:
    database -> mock-server
    collection name -> api_defs
    output file name -> childChoreRequest.json

提交回复
热议问题