How to export JSON from MongoDB using Robomongo

前端 未结 14 1029
暗喜
暗喜 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:02

    I don't think robomongo have such a feature. So you better use mongodb function as mongoexport for a specific Collection.

    http://docs.mongodb.org/manual/reference/program/mongoexport/#export-in-json-format

    But if you are looking for a backup solution is better to use

    mongodump / mongorestore
    

提交回复
热议问题