Accessing Meteor production database

前端 未结 3 577
说谎
说谎 2020-12-12 13:20

To check out what\'s in the (production) database for blah.meteor.com I thought we would just do:

meteor mongo --url http://blah.meteor.com/
         


        
3条回答
  •  失恋的感觉
    2020-12-12 13:29

    Simplified version of nsmeta's informative answer for the speed scanners out there:

    $ meteor mongo blah.meteor.com
    connecting to: ...
    > show collections
        stuff
    > db.stuff.find()
        {"_id" : "abcdedghiasdjlahf", stuff: "yeah!" }
    

提交回复
热议问题