將集合匯出為 JSON

執行 meteor,開啟另一個終端視窗,然後執行以下命令。

mongoexport --db meteor --collection foo --port 3001 --out foo.json